This link has been bookmarked by 36 people . It was first bookmarked on 23 Feb 2011, by someone privately.
-
17 May 12
-
09 Apr 12
-
05 Mar 12
-
whether that be DOM-based styling changes, canvas or WebGL.
-
basic API for use with animation
-
The browser can optimize concurrent animations together into a single reflow and repaint cycle,
-
JS-based animations synchronized with CSS transitions or SVG SMIL
-
-
20 Feb 12
-
04 Feb 12
-
25 Oct 11
-
30 Sep 11
-
// shim layer with setTimeout fallback window.requestAnimFrame = (function(){ return window.requestAnimationFrame || window.webkitRequestAnimationFrame || window.mozRequestAnimationFrame || window.oRequestAnimationFrame || window.msRequestAnimationFrame || function(/* function */ callback, /* DOMElement */ element){ window.setTimeout(callback, 1000 / 60); }; })(); // usage: // instead of setInterval(render, 16) .... (function animloop(){ render(); requestAnimFrame(animloop, element); })();
-
-
18 Aug 11
-
30 Jun 11
-
23 Jun 11
-
20 May 11
Marg Wilkinson"The browser can optimize concurrent animations together into a single reflow and repaint cycle, leading to higher fidelity animation. For example, JS-based animations synchronized with CSS transitions or SVG SMIL. Plus, if you're running the animation loop in a tab that's not visible, the browser won't keep it running, "
-
18 Apr 11
-
Sushi CodeurIn 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.
-
29 Mar 11
Leonid BagulinrequestAnimationFrame
browser rendering browser animation html game requestAnimationFrame
-
The browser can optimize concurrent animations together into a single reflow and repaint cycle, leading to higher fidelity animation.
-
if you're running the animation loop in a tab that's not visible, the browser won't keep it running
-
second parameter to requestAnimFrame: the element that visually bounds the entire animation
-
-
14 Mar 11
-
04 Mar 11
-
25 Feb 11
-
24 Feb 11
-
23 Feb 11
Romain Pouclet"requestAnimationFrame for smart animating" by @paul_irish: http://t.co/RdiTNqJ
Would you like to comment?
Join Diigo for a free account, or sign in if you are already a member.