Code

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

int spacing = 15;

for (int x=width/10; x<width; x+=width/5) {
  for (int y=height/10; y<height; y+=height/5) {   
    for (int target=90; target>=15; target-=spacing) {
      fill (255-target*2.83, 255-y/2, 255-x/2);
      ellipse (x,y, target,target);
    }
  }
}

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