ICC
< back to sketch

size(300, 300);
background(128);
//point(150, 150);
/*for(int i=150;i<163;i++){
  point(i, 150);
}*/
//line(150,150,162,150);

for(int i=0;i<30;i++){
 for(int j=0;j<30;j++){
 push();
 //rotate(PI/18);
 noStroke();
 fill(i*8,j*8,0);
 rect(i*10,j*10,5,5);
 pop();
 }
 }

/*
ellipseMode(CENTER_DIAMETER);
fill(255,0,0);noStroke();ellipse(150,150,210,210);
*/

noFill();
strokeWeight(3);stroke(0,255,0);
line(100,200,200,100);
bezier(200,100,130,30,30,130,100,200);
//strokeWeight(1);stroke(64);line(200,100,130,30);line(30,130,100,200);
strokeWeight(3);stroke(0,255,0);
bezier(100,200,180,270,290,150,220,80);
//strokeWeight(1);stroke(64);line(100,200,180,270);line(290,150,220,80);
strokeWeight(3);stroke(0,255,0);
bezier(220,80,120,-20,-20,120,75,225);
//strokeWeight(1);stroke(64);line(220,80,120,-20);line(-20,120,75,225);
strokeWeight(3);stroke(0,255,0);
bezier(75,225,95,245,130,255,150,255);
//strokeWeight(1);stroke(64);line(75,225,95,245);line(130,255,150,255);
strokeWeight(3);stroke(0,255,0);
bezier(150,255,180,255,205,245,225,225);
//strokeWeight(1);stroke(64);line(150,255,180,255);line(205,245,225,225);

/*
float f=0.0;
while(f < TWO_PI) { 
  if(f%10==0){
    fill(128,random(f%255),128);
    }
  rect(width/2 + cos(f)*100, height/2 + sin(f)*100,5,5); 

  f += PI/60.0; 
 }

*/


< back to sketch