Codepen
As you can see, when you click on the model on the scene, the cubes move around, actually the radius of the cubes are change.
when the radius changes, the positions of the cube are randomly changed to the gsap radius target (counts: 7).
I know this is because the “for” loop executes the init function in gsap onUpdate 50 times with a random radius and angle until it reaches the new radius.
How can I change the radius without randomly changing the position?