addArc animated, how to?
How do I animate an arc?
I have this
p.addArc([0,0, this.getWidth(), this.getHeight()/2], Math.PI * 1.2, Math.PI * 2.8);
Which will give a nice arc, and now I want to animate it, so that it will follow my slider which goes from 0 - 1
I've tried a lot of stuff using
multiplying with the different values in the arc,
but it will always break the curve, any tip would be much appreciated :)
@d-healey Yes of course, stupid me, I have to learn to check the documentation. Thank you David!