Raphael - what is the native delay function to draw circles?

Posted by 3gwebtrain on Stack Overflow See other posts from Stack Overflow or by 3gwebtrain
Published on 2012-11-17T04:54:25Z Indexed on 2012/11/17 5:00 UTC
Read the original article Hit count: 197

Filed under:
|

I am using Raphael, to draw 3 circles. how to i make the circles draw each one by one with some time gap?

I know there is a option with settimeout, but apart from is there any native function to make delay to draw the circles?

my simple code:

<div id="paper"></div>

var paper = Raphael('paper',500,500);

var c1 = paper.circle(50,50,25);

var c2 = paper.circle(100,50,25);

var c3 = paper.circle(150,50,25);

jsfiddle here

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about raphael