title: Use of delay() in Processing Environment
body: <p>I am using <b>Processing language</b> to sketch a rectangle that grows in size with time. Following code is not giving any output.</p>
  
  <pre><code>void setup()
  {
      size(900,900);
  }
  void draw()
  {
      int edge=100;
      for(int i=0;i&lt;300;i++)
      {
          delay(100);  
          edge++;      
          rect(100,100,edge,edge);
      }
  }
  </code></pre>
  
  <p>I suspect having wrongly used delay() function.</p>