Saturday, September 11, 2010

Tiled drops retina burn

// just type here
// and click "save" when your done


void setup(){
  colorMode(HSB);
  size(800,400);
  background(0,0,255);
  smooth();
}

void draw() {
  //translate(width/2,height/2);
  translate(frameCount%width, 40*int((frameCount/width))%height);
  fill(int(frameCount*1.8)%255,255,255,90);
  rotate(-0.6+0.3* sin(frameCount/300.0));
  //scale(0.2-frameCount/2000.0);
  if (frameCount < 8500) {
    noStroke();
    scale(2*abs(sin(frameCount/10.0)));
    drawDrop();
    //strokeWeight(1.01*sin(frameCount/3.0));
  }
  else {
    noLoop();
  }

}

  
  void drawDrop(){
//translate(-2,2);
ellipse(0,0,20,20);
triangle(-5, -9, 15, -20, 10, 3);
}

info info

submitted by: DARYL_Gamma
views: 41
inspired by the subtropics

treeThis sketch has a parent
Tags: squares

comments comment

loading loading...

 

Add a comment: