0.2.0 • Published 6 years ago
tweense v0.2.0
TweenSE
A tiny javascript tweening animation engine.
Install
npm i tweense -s
Usage
const { animate } = require('tweense')
animate(
0, // initial valud
1, // target value
1000, // duration
'Quad.easeIn', // timing function
(value, isEnding) => { // callback
if(!isEnding){
arc.render(value)
}
}
)
Contributing
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request :D
Author
tweense © ULIVZ, Released under the MIT License. Authored and maintained by ULIVZ with help from contributors (list).
github.com/ulivz · GitHub @ULIVZ · Twitter @_ulivz