Hello,
I want to change the radius of the city in my example.
https://codepen.io/Teymoor/pen/ZEoyGQp
When you click on the fox, the radius changes but in one frame without animation.
As you can see the GSAP animation is not working properly.
It seems to be done by matrix transformation.
Anyone can help me, I really appreciate it.
My approach would be to set wanted animation duration (i.e. duration: 5
) and
onUpdate: init
on both calls of gsap.to().