Reputation: 7061
I'm trying to create animations on a canvas.
They are similar to animating top
on an element.
I want the simplest possible library for animations.
Ideally I would like to send in duration
, easing
and a function which gets called with a percent.
I've tried Animator.js
which does what I want but it is unmaintained and is quite laggy.
Most libraries I've seen are over 10k minified and do pretty much everything except what I want.
Are there any good, small and efficient libraries for this out there or am I going to have to write one myself?
Upvotes: 1
Views: 877
Reputation: 14309
http://coderepos.org/share/wiki/JSTweener
This is a very light one I use. The only thing I would like added to it is removeTweens(...).
Upvotes: 1