Good day, everyone!
Im a newbie in three.js.
And i want to create TikTok time warp effect
Video example link
But instead of video it can be simple scene with cube.
Could you give me some advices, how to achieve this effect?
Thank you!
Good day, everyone!
Im a newbie in three.js.
And i want to create TikTok time warp effect
Video example link
But instead of video it can be simple scene with cube.
Could you give me some advices, how to achieve this effect?
Thank you!
That’s a tricky one. You would need to learn some custom shaders, then you could use GLSL to sample a few lines (~5px) from the current frame, and add it to the accumulation of the previous frames. It’s a pretty advanced effect, but you could start learning how to write your own shaders through thebookofshaders.com
I created a simple one using vanilla javascript