Sunday, November 06, 2011
PandaFoot
// just type here
// and click "save" when your done
void setup() {
size(500, 500);
}
void draw() {
background(38, 38, 38);
//fill is applied to whatever follows
fill (20,140,150);
rect (mouseX, 5, frameCount%50, 50);
//can follow mouse
//rect (mouseX, mouseY, frameCount%50,50);
fill (150,20,20);
ellipse(frameCount%450, 450-frameCount%50, 100, 100);
}
// and click "save" when your done
void setup() {
size(500, 500);
}
void draw() {
background(38, 38, 38);
//fill is applied to whatever follows
fill (20,140,150);
rect (mouseX, 5, frameCount%50, 50);
//can follow mouse
//rect (mouseX, mouseY, frameCount%50,50);
fill (150,20,20);
ellipse(frameCount%450, 450-frameCount%50, 100, 100);
}