21 December 2012 14:30
requestAnimationFrame for smart animating « Paul Irish
by srcmaxIn your animation work, you've used a timer loop to make changes every few milliseconds. Good for us: browser vendors have decided, "hey, why don't we just give you an API for that, because we can probably optimize some things for you." So it's basic API for use with animation, whether that be DOM-based styling changes, canvas or WebGL.
1
(1 marks)