0.2.2 • Published 10 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.animationframeFor bower users:
bower install bacon.animationframe