visionmedia / move.js

CSS3 backed JavaScript animation framework
http://visionmedia.github.com/move.js/
4.72k stars 685 forks source link

relying on requestanimframe and not settimeout ? #3

Closed jeromeetienne closed 13 years ago

jeromeetienne commented 13 years ago

not sure this is "bug", more a suggestion.

setTimeout isnt "animation friendly" see http://paulirish.com/2011/requestanimationframe-for-smart-animating/

the code in .end() which does setTimeout

https://github.com/visionmedia/move.js/blob/master/move.js#L584

tj commented 13 years ago

it's not a timer loop, that's quite different, this is just css3 animations

jeromeetienne commented 13 years ago

duh! my bad


http://pacmaze.com - a pacman in WebGL

On Fri, Jun 17, 2011 at 4:49 PM, visionmedia < reply@reply.github.com>wrote:

it's not a timer loop, that's quite different, this is just css3 animations

Reply to this email directly or view it on GitHub: https://github.com/visionmedia/move.js/issues/3#issuecomment-1388598