I am new in **processing** and **java**, I have some exercise to display *100 ellipses* but the screen size is (900, 600), and I want break *100 in 10 lines* of 10, but I don't know how to break line in processing , I already use translate(<https://processing.org/reference/translate_.html>),but it doesn't work.

```
  //function
  void draw(){
    smooth();
    noStroke();
    fill(23,43,208,200);// cor azul
    ellipse(posX,posY,12,10);

    noStroke();
    fill(242,76,39);//cor vermelho
    ellipse(posX,posY,12,10);

  }

  for (int i=1; i<ellipses.length; i++)
  {
    for (int j=i; j<ellipses.length; j++)
     {
          if(j%10==0)
          ellipses[i].draw();//calling function
     } 
  }

```