bacon.animationframe

0.2.2 • Public • Published

bacon.animationFrame

Leverage requestAnimationFrame in Bacon.js way!

Methods

Bacon.scheduleAnimationFrame

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

Package Sidebar

Install

npm i bacon.animationframe

Weekly Downloads

1

Version

0.2.2

License

none

Last publish

Collaborators

  • wolfflow