HTML5, canvas, and time-delay
Ok, this is a pretty simple setup. I create an HTML5 canvas, make it 250 by 250 pixels, color it grey just to show where its boundaries are, then i put 6 blue circles across it:
my question, how can I put a time-delay in there? That is, rather than have all the circles display at once, say, put a 1-second delay before each one is drawn....
ctx = canvas.getContext("2d");
canvas.width = canvas.height = 250;
for (i=0; i<6; i++)
ctx.arc(circlex,circley,25,0, Math.PI * 2, true);