Feeney
Feeney

Reputation: 357

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?

Upvotes: 7

Views: 4816

Answers (1)

user1193509
user1193509

Reputation:

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

Upvotes: 4

Related Questions