Code

/* 
 Dane Pieri
 September 2008
 */

size(500,500);
background(100,100,100);
noStroke();
smooth();

for(int x=0; x<5; x++){
  for(int y=0; y<5; y++){
    for(int i=0; i<6; i++){
      fill((0+(40*i)), 200-(50*y), 200-(50*x));
      ellipse(50+(x*100),(50+(y*100)), 90-(15*i), 90-(15*i));
    }
  }
}

0206 - Gradual buildup of a complex design: Addition of color

Statement:OK, this is the last exercise in this series. Connect the row-counter and column-counter of your external for-loops to the green and blue channels of the fill() command, so as to reproduce the figure here: (http://www.golancourses.net/blog/wp-content/uploads/2008/09/0206.png).

Note the inverse relationships -- the color channels progress from light to dark as we travel from left to right and top to bottom! Step back and look at your results, and imagine if I had asked you to make this design, without the intermediate steps....

hide statement