I am new to animating with green sock.
I wanted to animate a pixi graphic.
I can get the movement to work, but i can't get the likeWidth and color to animate.
Can someone provide some help on this?
See the Pen rrpZpO by wijesijp (@wijesijp) on CodePen
No. Graphics data is stored as an array of points. It does not keep track of the parameters you pass in. You can create an object with the properties of your shape, and animate that instead.
The reason I'm animating the angle to 361 is because there will be a tiny gap at 360. It's either that, or draw a circle at the end.
See the Pen aawPxd by osublake (@osublake) on CodePen
Also, graphics rendering can be slow, so it's be