AS3 – Parametric path drawing

Partial path drawing Last time I gently coded a script for “rounding” the corners of a path. I think the script is really fine, handles nicely closed paths, but, it’s “static”.

So here’s the new, innocent, question: what if you want to have an animated drawing of the path?

Innocent answer: the drawing method would need a “ratio” parameter, so you can draw only a part of the path.

Continue reading