A tiny javascript tweening animation engine.
npm i tweense -s
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)
}
}
)
- 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
tweense © ULIVZ, Released under the MIT License.
Authored and maintained by ULIVZ with help from contributors (list).
github.com/ulivz · GitHub @ULIVZ · Twitter @_ulivz