Sunday, November 06, 2011
Fresh Mess
// just type here
// and click "save" when your done
float x,y;
color fillColour, backgroundColour;
void setup() {
size(800,500);
x = 100;
y = 100;
fillColour = color(20,40,150);
backgroundColour = color(0,255,90);
}
void draw() {
background(backgroundColour);
fill(fillColour);
rect(x,y, 100,100);
}
// and click "save" when your done
float x,y;
color fillColour, backgroundColour;
void setup() {
size(800,500);
x = 100;
y = 100;
fillColour = color(20,40,150);
backgroundColour = color(0,255,90);
}
void draw() {
background(backgroundColour);
fill(fillColour);
rect(x,y, 100,100);
}
comments
loading...
Add a comment: