Monday, May 17, 2010

dervishes colored

void setup(){
  smooth();
background(255);
size(800,300);
  }

  void draw() {
    drawOneCircle();
  }
  
  void drawOneCircle(){

    int posx = int(random(0,width));
    int posy = int(random(0,height));
    float radius = random(10,50);

noStroke();
  fill(random(0,255),random(0,255),random(0,255),10);
ellipse(posx,posy,radius*4,radius*4);
  fill(random(0,255),random(0,255),random(0,255),10);
ellipse(posx,posy,radius*3,radius*3);
  fill(random(0,255),random(0,255),random(0,255),10);
ellipse(posx,posy,radius*2.5,radius*2.5);

stroke(0,60);
fill(255);
ellipse(posx,posy,radius*2,radius*2);

noStroke();
for(int k = 1; k < 30; k++){
  fill(random(0,255),random(0,255),random(0,255),20);
  arc(posx, posy, radius*2, radius*2, random(0,2*PI), random(0,2*PI));
}


    for(float i = 0.0; i < 2.0*PI; i+=0.5-radius/200){

stroke(0, random(0,100));
line(posx,posy,posx+sin(i)*radius,posy+cos(i)*radius);
  
}

  }

info info

submitted by: DARYL_Gamma
views: 751


treeThis sketch has a parent
Tags:

comments comment

loading loading...

 

Add a comment: