For which browsers are we using Paul Irish's requestAnimationFrame shim?
Paul Irish has a post called requestAnimationFrame for Smart Animating . Now Paul is a smart guy - and I'm just trying to understand the scope of the application of this idea. He says to do HTML5 animation - you should use a requestAnimationFrame shim like this: // shim layer with setTimeout fallback window.requestAnimFrame = (function(){ return window.requestAnimationFrame || window.webkitRequestAnimationFrame || window.mozRequestAnimationFrame || function( callback ){ window.setTimeout(callback, 1000 / 60); }; })(); // usage: // instead of setInterval(render, 16) .... (function animloop(){