Friday, February 17, 2012

Final Idea

int numBoxes = 9;
void setup() { 
  size(700,700); 
  background(0,0,0); 

  
void draw() { 
  
 int cnt = frameCount;
  
  fill(0,5);
  rect(0,0,width,height);
  translate(255,255);
  rotate(cos(cnt/1000)*20);
  for(int i=0; i < 100; i++) {
    fill(250,i*2,cnt%255,40);
    rect(0,10+
         100*sin(frameCount/12),cnt%40,200+
         cos(cnt/50)*100);
    rotate(i);
  }
  
  for(int i=0; i < 45; i++) {
    fill(50,i*2,cnt%255,20);
    rect(30,10+
         10*sin(frameCount/20),5+cnt%20,20+
         cos(cnt/50)*300);
    rotate(i*8);
  }
  for(int i = 0 ; i < numBoxes ; i++) {
    fill(100,100,100);
    ellipse(300 + (i * 100),10 + (i *10),25,25);
  }
   for(int i = 0 ; i < numBoxes ; i++) {
    fill(100,100,100);
    ellipse(1 + (i * 100),10 + (i *20),25,25);
  }
   for(int i = 0 ; i < numBoxes ; i++) {
    fill(100,100,100);
    ellipse(1 + (i * 100),10 + (i *30),25,25);
  }
  for(int i = 0 ; i < numBoxes ; i++) {
    fill(100,100,100);
    ellipse(1 + (i * 100),10 + (i *40),25,25);
  }
  for(int i = 0 ; i < numBoxes ; i++) {
    fill(100,100,100);
    ellipse(1 + (i * 100),10 + (i *50),25,25);
  }
  for(int i = 0 ; i < numBoxes ; i++) {
    fill(100,100,100);
    ellipse(1 + (i * 100),10 + (i *60),25,25);
  }
  for(int i = 0 ; i < numBoxes ; i++) {
    fill(100,100,100);
    ellipse(1 + (i * 100),10 + (i *70),25,25);
  }
  for(int i = 0 ; i < numBoxes ; i++) {
    fill(100,100,100);
    ellipse(1 + (i * 100),10 + (i *80),25,25);
  }
  noFill(); 
  stroke(255,255,255);
  strokeWeight(1);
  ellipse(400,400,55,55);
  ellipse(0,0,700,700);
     fill(255,255,20); 
    stroke(255,255,255);
  strokeWeight(1);
  ellipse(500,500,54,54);
  ellipse(80,80,800,800);
   noFill(); 
    stroke(255,255,255);
  strokeWeight(1);
  ellipse(600,600,54,54);
  ellipse(90,90,900,900);
    noFill(); 
    stroke(255,255,255);
  strokeWeight(1);
  ellipse(100,100,1000,1000);
   noFill(); 
    stroke(255,255,255);
  strokeWeight(1);
  ellipse(150,150,1000,1000);
 noFill(); 
    stroke(255,255,255);
  strokeWeight(1);
  ellipse(200,200,1000,1000);
   noFill(); 
    stroke(255,255,255);
  strokeWeight(1);
  ellipse(250,250,1000,1000);
  noFill(); 
    stroke(255,255,255);
  ellipse(500,500,56,56);
  strokeWeight(1);
  ellipse(350,350,1000,1000);
  
  
}

info info

submitted by: kolawolesammy
views: 1032


Tags:

comments comment

loading loading...

 

Add a comment: