Sofia
Sofia

Reputation: 11

draw ellipse wait a few seconds and draw another one in processing

So I'm using Processing and I want the program to draw one ellipse, then wait 2 seconds, then draw another different ellipse. How can I do that? These are the ellipses I wanna draw:

    ellipse(350, 250, 160, 120); // big horizontal ellipse
    strokeWeight(8); // stroke thickness
    stroke(100); // stroke color
    noFill(); // ellipse is transparent inside

    ellipse(350, 250, 50, 120); // vertical ellipse
    strokeWeight(8); 
    stroke(100);
    noFill();

    ellipse(350, 220, 130, 50); // small horizontal ellipse
    strokeWeight(8); 
    stroke(100);
    noFill();

Upvotes: 0

Views: 223

Answers (1)

Related Questions