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);
    noStroke(); 

  
void draw() {  
  translate(mouseX,mouseY);
  rotate(frameCount);
  
  fill(150,204,225,100);
  
  for(int i=0; i < 10; i++) {
  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; 
  }
  }
  
  
  fill(0,0,0,1);
  rect(0,0,500,500);
}

info info

submitted by: spam04
views: 



treeThis sketch has a parent
Tags:

comments comment

loading loading...

 

Add a comment: