Okay, in this case it’s probably best to use an animation library like GSAP 3.
There are some existing topics about using three.js
and GSAP in this forum. I suggest you study the following ones in order to get a first impression.
And here is a more complex example: Edit fiddle - JSFiddle - Code Playground
1 Like