This is really great stuff; has a super friendly API to boot.
FWIW, we also released a generalized library for some of the things we were doing WRT frame-based and duration-based animation:
https://github.com/voxmedia/metronome
(Reason being that for some animations, we wanted it to finish in a precise amount of time, but for others, maintaining frame rate was paramount, even if total elapsed time was longer)
This is really great stuff; has a super friendly API to boot.
FWIW, we also released a generalized library for some of the things we were doing WRT frame-based and duration-based animation:
https://github.com/voxmedia/metronome
(Reason being that for some animations, we wanted it to finish in a precise amount of time, but for others, maintaining frame rate was paramount, even if total elapsed time was longer)