Tuesday, 30 April 2013

Processing fun


void setup() {
    size(400, 400);
    background(200);
    noLoop();
    noStroke();
    smooth();
}

void draw() {
 for (int i = 1; i < 400; i += 1) {
  ellipse(random(1, 400), random(1, 400), 100, 100);
  fill(random(1, 255), random(1, 255), random(1, 255), 500-i);
  save("a3.tiff");
}
}

No comments:

Post a Comment