from_ greenass hansune
processing
void setup() {
size(600, 900, P3D);
}
void draw() {
background(0xffffffff);
translate(width/2, height/2, 0);
Line();
}
float a;
void Line() {
strokeWeight(.2);
stroke(0, 0, 0, 70);
for(float a=0; a<360; a++) {
a++;
beginShape(LINE_STRIP);
vertex(230*cos(a*PI/180)+60, 50*sin(a*PI/180)+350);//바닥
bezierVertex(20*cos(a*PI/180)-130, 10*sin(a*PI/180)+100,//허리
15*cos((a+30)*PI/180)-130, 10*sin((a+30)*PI/180)-50,//허리끝
40*cos((a)*PI/180)-145, 25*sin((a)*PI/180)-100);//가슴
bezierVertex(35*cos((a)*PI/180)-145, 25*sin((a)*PI/180)-130,//가슴진행
10*cos((a)*PI/180)-130, 5*sin((a)*PI/180)-150,//목
10*cos((a)*PI/180)-130, 5*sin((a)*PI/180)-220);//목끝
bezierVertex(20*cos((a)*PI/180)-140, 4*sin((a)*PI/180)-220,//턱
20*cos((a)*PI/180)-140, 4*sin((a)*PI/180)-222,//턱2
25*cos((a)*PI/180)-140, 4*sin((a)*PI/180)-240);//모자밑
bezierVertex(25*cos((a)*PI/180)-140, 4*sin((a)*PI/180)-242,//모자밑2
100*cos((a-60)*PI/180)-144, -100*sin((a-60)*PI/180)-210,//모자끝
100*cos((a)*PI/180)-144, -10*sin((a)*PI/180)-245);//모자끝2
bezierVertex(13*cos((a)*PI/180)-140, 4*sin((a)*PI/180)-270,//곡률1
30*cos((a)*PI/180)-140, 4*sin((a)*PI/180)-290,//이마
1*cos((a)*PI/180)-130, 1*sin((a)*PI/180)-292);//정수리
endShape();
}
strokeWeight(.1);
stroke(150, 0, 0, 20);
translate(-70, -280, -100);
scale(0.2);
for(float a=0; a<360; a++) {
beginShape(LINE_STRIP);
vertex(150*cos((a)*PI/180), 150*sin((a)*PI/180));
bezierVertex(
150*cos((a*6)*PI/180), 50*sin((a*6)*PI/180),
100*cos((a*6+60)*PI/180), 30*sin((a*6+60)*PI/180),
200*cos((a)*PI/180), 100*sin((a)*PI/180));
endShape();
}
}





