Thursday, December 05, 2013
individual
// just type here
// and click "save" when your done
void setup() {
background(random(0,255),mouseX,mouseY);
size(500,500);
noStroke();
smooth();
}
void draw() {
translate(250,250);
rotate(frameCount/10);
fill(random(0,255),mouseX,mouseY);
rect(random(0,255),100, 100,100);
rect(150,150,150,random(0,255));
rect(random(0,200),200,200,200);
line(0,0,255,255);
}
void mousePressed(){
background(255,130,160);
}
// and click "save" when your done
void setup() {
background(random(0,255),mouseX,mouseY);
size(500,500);
noStroke();
smooth();
}
void draw() {
translate(250,250);
rotate(frameCount/10);
fill(random(0,255),mouseX,mouseY);
rect(random(0,255),100, 100,100);
rect(150,150,150,random(0,255));
rect(random(0,200),200,200,200);
line(0,0,255,255);
}
void mousePressed(){
background(255,130,160);
}
comments

Add a comment: