Sunday, May 31, 2009
colour shapes
// just type here
// and click "submit" when done
void setup(){
size(301,301);
}
void draw() {
background(290, mouseX, 50);
noStroke();
fill(mouseX, 139, mouseY);
rect(45, 45, 45, 45);
fill(20, mouseY, mouseX);
rect(50, 50, 35, 35);
fill(mouseX, 139, mouseY);
rect(100, 100, 100, 100);
fill(mouseX, 20, mouseY);
rect(50, 50, 35, 35);
fill(mouseX, mouseY, 139);
rect(200, 200, 200, 200);
fill(20, mouseY, mouseX);
rect(50, 50, 35, 35);
fill(mouseX, mouseY, mouseY);
rect(100, 100, 100, 100);
fill(20, mouseY, mouseX);
rect(50, 50, 35, 35);
}
// and click "submit" when done
void setup(){
size(301,301);
}
void draw() {
background(290, mouseX, 50);
noStroke();
fill(mouseX, 139, mouseY);
rect(45, 45, 45, 45);
fill(20, mouseY, mouseX);
rect(50, 50, 35, 35);
fill(mouseX, 139, mouseY);
rect(100, 100, 100, 100);
fill(mouseX, 20, mouseY);
rect(50, 50, 35, 35);
fill(mouseX, mouseY, 139);
rect(200, 200, 200, 200);
fill(20, mouseY, mouseX);
rect(50, 50, 35, 35);
fill(mouseX, mouseY, mouseY);
rect(100, 100, 100, 100);
fill(20, mouseY, mouseX);
rect(50, 50, 35, 35);
}
info
submitted by: sophie.mcdonaldviews: 1858
copied from basic shapes for a start. now with changing colours!! ;o) and more changing colours, but i have plans for this...
This sketch has a parent
comments
loading...
Add a comment: