gury icon indicating copy to clipboard operation
gury copied to clipboard

Use requestAnimationFrame

Open sethladd opened this issue 13 years ago • 2 comments

Use requestAnimationFrame for better animations (smoother, less battery, no tearing, synced drawing)

http://dev.chromium.org/developers/design-documents/requestanimationframe-implementation http://paulirish.com/2011/requestanimationframe-for-smart-animating/ https://developer.mozilla.org/en/DOM/window.mozRequestAnimationFrame http://blog.chromium.org/2011/03/getting-smoother-animated-web-content.html

sethladd avatar Apr 06 '11 17:04 sethladd

Ah good call, thanks for letting me know about that :).

rsandor avatar May 01 '11 22:05 rsandor

Please don't! jQuery has decided to not use it. Probably the best would be to use jQuery (if jQuery is available) animation ticks.

mitar avatar Jan 26 '12 01:01 mitar