Code

//Matthew Finder's Assignment 0205

size(500,500);

background(119,119,119);

noStroke();

smooth();


for (int i=90; i>=10; i=i-15){
  for(int x=450; x>=50; x=x-100){
    for(int y=450; y>=50; y=y-100){
      fill(255-(i*2.83));
      ellipse(x,y, i,i);

    }
  }
}

0205 - Gradual buildup of a complex design: Another for{} loop

Statement:Add yet another repetition structure around the previous assignment, in order to create the design shown here:



If you've done this correctly, step back and take a look at that - you've made a triple for{} loop!
Matthew Finder's Assignment 0205

hide statement