title: How to draw multiple objects in succession one after another in Processing?
body: <p>I would like to draw a single object for say 2 seconds, then draw the next object. I want to save each object so I can assess them after they each have run.</p>
  <pre><code>Object [] objects;
  float starttime;
  
  void setup() {
    size (1600, 1000);
    objects= new Object [100];
    for (int i = 0; i &lt; 100; i++) {
      objects[i] = new Object();
    }
  }
  
  void draw() {
    background(255);
    for (int i = 0; i &lt; 100; i++) { //This makes multiple objects at once
      while (2000 + starttime &gt; millis()) { //This is my attempt at having them run one after the other
        objects[i].makeobject();
      }
    }
  }
  </code></pre>
  <p>Any help would be much apprecieated! Thank you</p>