금천고등학교 로고이미지

컴퓨터프로그래밍

RSS 페이스북 공유하기 트위터 공유하기 카카오톡 공유하기 카카오스토리 공유하기 네이버밴드 공유하기 프린트하기
1813유수민
작성자 변혜인 등록일 20.11.16 조회수 64

void setup()
{
  size(600,600);
background(220);
smooth();
strokeWeight(4);

stroke(255,255,255);
fill(255,255,255);
rect(186,90,67,120);
stroke(255,255,255);
fill(255,255,255);
rect(326,90,67,120);

 

stroke(0,0,0);
fill(0);
line(182,90,182,250);
line(195,90,195,250);
line(245,90,245,250);
line(257,90,257,250);
fill(255,255,255);
arc(220,90,75,75,PI,TWO_PI);

fill(#FB8180);
arc(220,90,50,50,PI,TWO_PI);
stroke(#FB8180);
rect(199,90,42,120);
stroke(0,0,0);
fill(0);
line(322,90,322,250);
line(335,90,335,250);
line(385,90,385,250);
line(397,90,397,250);
fill(395,255,255);
arc(360,90,75,75,PI,TWO_PI);

fill(#FB8180);
arc(220,90,50,50,PI,TWO_PI);
stroke(#FB8180);
rect(199,90,42,120);
fill(#FB8180);
stroke(0,0,0);
arc(360,90,50,50,PI,TWO_PI);
stroke(#FB8180);
rect(339,90,42,120);
//DRAW CIRCLE


fill(255,255,255);
stroke(0,0,0);
ellipse(300,350,350,350);
fill(#FFD200);
ellipse(300,350,300,300);

 

//EYELYDS
strokeWeight(5);
line(230,260,230,285);
line(210,265,215,285);
line(250,265,245,285);
strokeWeight(5);
line(370,260,370,285);
line(350,265,355,285);
line(390,265,385,285);


//LEFT EYE
fill(0,0,0);
ellipse(230,330,90,90);
fill(255,255,255);
ellipse(210,320,30,30);
ellipse(245,310,20,20);
ellipse(240,340,15,15);
fill(0,0,0);
ellipse(370,330,90,90);
fill(255,255,255);
ellipse(350,320,30,30);
ellipse(375,310,20,20);
ellipse(380,340,15,15);

 

//NOSE
fill(0,0,0);
ellipse(300,380,30,20);
strokeWeight(4);
noFill();
arc(275,394,50,50,0,radians(175));
noFill();
arc(325,394,50,50,0,radians(175));


//dimple
fill(#FB8180);
stroke(#FB8180);
ellipse(210,395,45,20);
//dimple
fill(#FB8180);
stroke(#FB8180);
ellipse(400,395,45,20);

}

void draw()
{
 
}
 

이전글 프로세싱 도라에몽
다음글 3빠 종석