Sunday, November 06, 2011
Blomp
// just type here
// and click "save" when your done
int plurp = 5;
int plarp = 5;
int fatness = 50;
void setup() {
size(500,500);
background(0,0,0);
fill(150,204,225,100);
}
void draw() {
ellipse(plurp, plarp, fatness, fatness);
plurp = plurp + 80;
plarp = plarp + 92;
fatness -= 5;
if (plurp >= width) {
plurp = 0;
}
if (plarp >= height) {
plarp = 0;
}
if (fatness <= 0) {
fatness = 50;
}
}
// and click "save" when your done
int plurp = 5;
int plarp = 5;
int fatness = 50;
void setup() {
size(500,500);
background(0,0,0);
fill(150,204,225,100);
}
void draw() {
ellipse(plurp, plarp, fatness, fatness);
plurp = plurp + 80;
plarp = plarp + 92;
fatness -= 5;
if (plurp >= width) {
plurp = 0;
}
if (plarp >= height) {
plarp = 0;
}
if (fatness <= 0) {
fatness = 50;
}
}
comments
loading...
Add a comment: