Sunday, June 07, 2009

Pastel circles hypnosis 2

// just type here
// and click "submit" when done



int i = 0;

void setup()
{
  size(800,800);
  smooth();
  fill(0);
  rect(0,0,800,800);
  strokeWeight(3);
}


void draw()
{      
  i++;
  noFill();






  translate(400+random(0,7),400+random(0,7));
  stroke(50 + (i%1200)/10 + random(1,50), 50 + (i%1200)/10 + random(1,50), 50 + (i%1200)/10 + random(1,50));
  ellipse(0, 0, i%1200, i%1200);
  stroke(50 + ((i%1200)/20) + random(1,50), 50 + ((i%1200)/20) + random(1,50), 50 + ((i%1200)/20) + random(1,50));
   ellipse(0, 0, (i/2)%1200, (i/2)%1200);
  stroke(50 + ((i%1200)/40) + random(1,50), 50 + ((i%1200)/40) + random(1,50), 50 + ((i%1200)/40) + random(1,50));
  ellipse(0, 0, (i/4)%1200, (i/4)%1200);
  stroke(50 + ((i%1200)/80) + random(1,50), 50 + ((i%1200)/80) + random(1,50), 50 + ((i%1200)/80) + random(1,50));
  ellipse(0, 0, (i/8)%1200, (i/8)%1200);
  stroke(50 + ((i%1200)/160) + random(1,50), 50 + ((i%1200)/160) + random(1,50), 50 + ((i%1200)/160) + random(1,50));
  ellipse(0, 0, (i/16)%1200, (i/16)%1200);

 }


void mousePressed()
{
    background(255);    
}

infoinfo

submitted by: DARYL_Gamma

could trip all day on this one

treeThis sketch has a parent
Tags: gradient, circle, animation

commentscomment

loading loading...

 

sign in to Add a comment: