koi.js
Key Object Interpolation
How to use
You can use this library in your browser and node application
Browser
Download the build/koi.js file and add it to your site
Node
Run
npm install koijs
and use it in you code
var koi = ;
How to build src
npm installnpm run build
Run tests
npm test
Examples
Browser
HTML examples be found unter the examples folder (check the console maybe).
Node
Because there is no autoupdate via requestAnimationFrame, you need to disable autoUpdate for node usage.
var koi = ;var animation =from: x: 0to: x: 1autoUpdate: falseanimationTime: 1000 ;animation;animationstart;
Remember to call update manually with
animationupdater;