Reputation: 567
I'm looking for a way to animate the drawing of a stroke with HTML canvas.
Is there anything pre-defined that allows you to do this?
Upvotes: 0
Views: 1169
Reputation: 1539
I do not know any pre-defined solution. Maybe in a lib. like raphael
But if you know your stroke (x,y-positions of the pixels). You can set the x and y position in an array and use the array for the animation of painting a stroke...
Upvotes: 2