阅读背景:

区间动画和requestAnimationFrame之间的区别

来源:互联网 

What is the difference between those two? requestAnimationFrame should be "intervaled" or invoked cca every 60milisecond on 60fps (depending on screen) and with setInterval you can set delay interval of invokation of function. Yet i have made simple drawning animation with both , interval and requestAnimationFrame and it seems that interval function is smoother and work properly, while requestAnimation function broke browser (tested on mozilla/chrome and on 2 Pcs).What is the difference between those two? reque




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: