0.2.2 • Published 8 years ago
bacon.animationframe v0.2.2
bacon.animationFrame
Leverage requestAnimationFrame in Bacon.js way!
Methods
Returns an EventStream with requestID values produced on each animationFrame tick.
Bacon.repeatedlyOnFrame(values, divisor)
Repeats given elements indefinitely on nth frame (divisor parameter, default value is 1).
Similar to Bacon.repeatedly, but uses requestAnimationFrame
instead of setTimeout/setInterval
Install
For node.js users
npm install bacon.animationframe
For bower users:
bower install bacon.animationframe