/*Renee Isaacs
23 September 2009
This program use the 'for' statements to creat a random art.*/



size(180,180);

//white to black background
noStroke();
for (int y = 0; y < height; y ++) {
  for (int x = 0; x < width; x ++) {
    stroke(255-((x+y) * 1.4));
    point(x,y);
  }
}

//circles
noStroke();
for (int y = 0; y < height; y +=10) {
  for (int x = 0; x <width; x +=10) {
    fill((x+y) * 1.4);
    ellipse(x, y, width/10, height/10);
  }
}

/*for(int i=0; i<200; i++) {
  float r = random(100);
  stroke(r*5);
  line(180, height , 50+r, i);
}*/

//the bottom right hand spazz of lines
for(int i=0; i<200; i++) {
  float r = random(100);
  stroke(r*5);
  line( 0 , width , 200-r, i); //the + seems to change how the lines angle 
}





