I would like to draw βmovingβ lines using JavaScript and Canvas. Basically, I have a Bezier curve that I would like to draw, but instead of drawing the curve right away, I would like to draw fragments of the curve over time, so it looks like it is growing. A better explanation might be: I would like the line to start happening, and then move to the destination over time. What is the best way to achieve this?
source share