Anima — tool for CSS3 Animations
lvivski.github.com
lvivski.github.com
honorable mention to other nice animation frameworks:
Move.js (http://visionmedia.github.com/move.js/) Transit.js (http://ricostacruz.com/jquery.transit/)
And as far as I see they have no parallel animations like http://lvivski.github.com/anima/example/parallel.html. The ball moves forward with lenear timing-function, and up/down with ease-quad, so is slows down when on top and speeds up when falls down
Controling CSS Transitions is even more difficult and requires multiple actions like: remember current transform, remove transition, apply remembered transform etc.
Yes, CSS Animations have events for animation start and end, but Anima gives intermediate events, for any transformation in a set.
So it's not impossible to control CSS animations, but it's much easier with Anima. In `CSS` mode Anima has `pause()` `resume()` and `stop()` methods