animationjs

0.1.7 • Public • Published

animationjs

generate a animation.

usage

var animation = new lib.animation(
  1000,                   // duration(ms)
  lib.cubicbezier.ease,   // timingFunction
  function(i1, i2) {      // frame
    console.log(i1, i2);
  }
);
 
animation.play().then(function() {
  console.log('end');
});

Readme

Keywords

Package Sidebar

Install

npm i animationjs

Weekly Downloads

14

Version

0.1.7

License

none

Last publish

Collaborators

  • mr.raindrop