How do I morph / animate a custom shape into a circle? CANVAS JS

I have a slice/segment of a circle and want to animate it morphing into a new complete circle with a 'biological' feel to it. By biological I mean a way other than increasing the arc-length of the segment.

How can I get the kind of animation you would get if tweening a square to a circle in Flash, but in Canvas JS?


Have you heard of the Raphael JavaScript library? Here's an example. I think this demonstrates exactly what you described.

http://raphaeljs.com/animation.html

链接地址: http://www.djcxy.com/p/57282.html

上一篇: 接收定制的XML消息

下一篇: 如何将自定义形状变形/制作成圆形? CANVAS JS