4 ms·
this does not work with time based animations right? A tool that would be really nice for developing time based animations would be one where you could switch e
by fimdomeio 10y ago
this does not work with time based animations right?
A tool that would be really nice for developing time based animations would be one where you could switch easily between time and mouse movement.
- christinecha 10y agoIt works for any measurement! That choice is left completely up to the user. Instead of wrapping it in an event handler, you might instead set a variable for 'start time', run animations on requestAnimationFrame, and pass in the current time.
- SparkyMcUnicorn 10y agoThe documentation indicates that this library doesn't really handle the events at all (which is great imo). The getting started has more info on this. https://github.com/christinecha/choreographer-js#get-started https://github.com/christinecha/choreographer-js#get-started Looks awesome!