금천고등학교 로고이미지

컴퓨터프로그래밍

RSS 페이스북 공유하기 트위터 공유하기 카카오톡 공유하기 카카오스토리 공유하기 네이버밴드 공유하기 프린트하기
프로세싱 예제 무지
작성자 김용남 등록일 20.11.16 조회수 79

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

stroke(255,255,255);
fill(255,255,255);
rect(186,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);


//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);

//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);


//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);


}

void draw()
{
 
}

이전글 강두원
다음글 1빠 영기맨