Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Does one of these tools support an animation timeline with arbitrary seeking? Essentially I want to be able to have a progress slider representing the current time, and if the user clicks on any time on the slider, all animations should spring to that state, like a YouTube video. I played around with GSAP, anime and some others, but none properly supported playing the animations "backwards" (while jumping back).

I wrote my own implementation of a declarative animation engine (i.e. the same timeline position always looks the same), but I'm pretty sure there are still a couple of bugs allowing you to go out of sync.




I thought I did. Maybe I need to have another look, because the examples do seem to be exactly what I wanted. Thank you for the suggestion!


The native Web Animations API supports this with setting currentTime relative to the total duration.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: