Sunday, October 3, 2010

Circles


void setup() {
size (1000, 1200);
smooth ();
noStroke();
frameRate(8);
background(0);


}
void draw () {
if (mousePressed) {
fill (random(255), 33, 120, random(255)) ;}
else {
fill (160, 60, 200, 0);
}

ellipse(mouseX, mouseY, random(constrain(width, 20, 400)), random(constrain(height, 20, 400)));

}