Skip to content

Change animation speed #2795

Answered by elalish
cw789 asked this question in Q&A
Discussion options

You must be logged in to vote

You can set currentTime via JS, so if you set up a repeating requestAnimationFrame callback, you can set the time every frame to achieve any effect you like.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by cw789
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants