Clolent

void setup(){

  size(1200,600);

  frameRate(10);

}


void draw(){

  background(0);

  drawBoo(width/2+100,height/2,random(0,3),random(60,255));

  drawBoo(width/2+200,height/2,random(0,3),random(60,255));

  drawBoo(width/2+400,height/2,random(0,3),random(60,255));

  drawBoo(width/2-100,height/2,random(0,3),random(60,255));

  drawBoo(width/2-200,height/2,random(0,3),random(60,255));

  drawBoo(width/2-400,height/2,random(0,3),random(60,255));

  drawBoo(width/2-800,height/2,random(0,3),random(60,255));

}


void drawBoo(float x, float y, float s, float g) {

  pushMatrix();

  translate(x,y);

  scale(s);

  strokeWeight(80);

  stroke(g,g+20,g-20);

  line(0,-25,0,-60);

  noStroke();

  fill(255);

  ellipse(-17.5,-65,35,35);

  ellipse(17.5,-65,35,35);

  arc(0,-65,70,70,0,PI);

  fill(0);

  ellipse(-14,-65,8,8);

  ellipse(14,-65,8,8);

  quad(0,-58,4,-51,0,-44,-4,-51);

  popMatrix();

  

  

}


댓글 로드 중…

블로그 정보

Clolent - 커피물조절달인

최근에 게시된 글