animloop start/stop
ported from Nicholas Zakas' YUI module
$ component install threepointone/animloop
var loop = require('animloop');
loop.on('beforedraw', function(){
// your animation logic, runs on every 'frame'
});
// start the loop
loop.start();
// stop it
loop.stop();
// start() it again whenever
todo: real animation examples
MIT