Biblioteca de animación simple en javascript

I'm trying to create animations on a canvas. They are similar to animating top en un elemento.

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.

He tratado 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?

preguntado el 09 de marzo de 12 a las 14:03

1 Respuestas

This is a very light one I use. The only thing I would like added to it is removeTweens(...).

respondido 09 mar '12, 19:03

Nice! I really like that you can animate properties on any object. This means I could spoof the percent. Or even better, just animate the top directamente. - Nicklas A.

Worked flawlessly, awesome lib. Thanks! - Nicklas A.

No es la respuesta que estás buscando? Examinar otras preguntas etiquetadas or haz tu propia pregunta.