function requestNextAnimationFrame(callback){
return requestAnimationFrame(requestAnimationFrame.bind(null, callback));
}
function requestNextAnimationFrame_(){
return new Promise(resolve=> requestAnimationFrame(requestAnimationFrame.bind(null, resolve)));
}