开发者

Animating Canvas Stroke

I'm looking for a way to animate the drawing of a stro开发者_JAVA技巧ke with HTML canvas.

Is there anything pre-defined that allows you to do this?


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...

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜