3 ms·
This is why requestAnimationFrame [1] for animating. Not only does it sync with the system's refresh rate, it pauses processing when the tab isn't focussed [1]
by WickyNilliams 13y ago
This is why requestAnimationFrame [1] for animating. Not only does it sync with the system's refresh rate, it pauses processing when the tab isn't focussed
[1] http://www.paulirish.com/2011/requestanimationframe-for-smart-animating/ http://www.paulirish.com/2011/requestanimationframe-for-smar...