Replies: 1 comment
-
Hi @zeevo, interesting question! My idea would be to just multiply the return value of const frame = Math.round(useCurrentFrame() * 0.5) and drive all your animations based off that. This is similar in style to how the playback speed feature works in our editor. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello
I'd like to simulate a slowdown, and just be able to add different speeds to my
Sequence
s where applicable. Is there a way to slow down renders in some way?I have tried rendering every odd frame, but I run into our favorite "React: Too many re-renders" error as I do not think
useCurrentFrame()
updates every time a component updates... and things start to get complicated fast.Has anyone been able to implement slow-downs or things such as that while maintaining the same FPS?
Beta Was this translation helpful? Give feedback.
All reactions