title: How to make the size of ellipse to get smaller and bigger in processing automatically
body: <p>I am creating something using classes in order to get used to them and I am trying to get the size of the ellipse I have drawn to get smaller and larger on its own so that it makes it look more interactive however I don't know what code to implement.</p>
  
  <p>I have shown the code I am using below;</p>
  
  
  
  <pre class="lang-java prettyprint-override"><code>void setup()
  {
    size(640, 480);
  }
  
  void draw()
  {  
    background(255); 
  
    for (int i = height-50; i &gt; 0; i-= 20)
    {
      fill(random(255), random(255), random(255));
      ellipse(width/2, height/2, i, i);
    }
  }
  </code></pre>