/* built with Studio Sketchpad:
* https://sketchpad.cc
*
* observe the evolution of this sketch:
* https://studio.sketchpad.cc/sp/pad/view/ro.31T7SYkqopq/rev.1846
*
* authors:
* Padungsak
* license (unless otherwise specified):
* creative commons attribution-share alike 3.0 license.
* https://creativecommons.org/licenses/by-sa/3.0/
*/
//my favorite movie
void setup() {
size(1280,1920);
background(0,0,0);
beginShape();
fill(192,23,126);
vertex(640,118);
vertex(653,131);
vertex(700,317);
vertex(641,362);
vertex(581,317);
vertex(628,131);
endShape(CLOSE);
//horn
beginShape();
fill(139,255,16);
ellipse(640,455,75,75);
endShape();
//eye
beginShape();
fill(56,50,86);
vertex(581+62*47/186,255);
vertex(581,317);
vertex(640,360);
vertex(700,317);
vertex(700-62*47/186,255);
vertex(731,288);
vertex(760,365);
vertex(640,425);
vertex(520,365);
vertex(549,288);
endShape(CLOSE);
//forehead
beginShape();
stroke(56,50,86);
bezier(829,627,938,620,995,721,1000,800);
vertex(1000,800);
vertex(860,806);
vertex(800,840);
vertex(839,732);
endShape(CLOSE);
//right shoulder
beginShape();
bezier(450,627,341,620,284,721,279,800);
vertex(279,800);
vertex(419,806);
vertex(479,840);
vertex(440,732);
endShape(CLOSE);
//left shoulder
beginShape();
vertex(779,442);
vertex(808,519);
vertex(792,581);
vertex(679.5,618.5);
vertex(719,472);
endShape(CLOSE);
//right part face
beginShape();
vertex(491,442);
vertex(462,519);
vertex(478,581);
vertex(590.5,618.5);
vertex(551,472);
endShape(CLOSE);
//left part face
beginShape();
stroke(0,0,0);
vertex(518,948);
vertex(440,732);
vertex(440+982/65,732-10311/65);
vertex(635,618.5+44.5/3);
vertex(839-982/65,730-10311/65);
vertex(839,732);
vertex(761,948);
vertex(639.5,1000);
endShape(CLOSE);
//body
beginShape();
vertex(578.75,974);
vertex(639.5,1000);
vertex(700.25,974);
vertex(750.25,1174);
vertex(650.25,1324);
vertex(639.5,1330);
vertex(628.75,1324);
vertex(528.75,1174);
endShape(CLOSE);
//waist
beginShape();
fill(114,12,78);
quad(650.25,1324,730.25,1524,780.25,1474,700.25,1249);
endShape();
//right leg
beginShape();
quad(628.75,1324,548.75,1524,498.75,1474,578.75,1249);
endShape();
//left leg
beginShape();
vertex(860,806);
vertex(930,803);
vertex(1000,933);
vertex(900,953);
vertex(830,823);
endShape(CLOSE);
//right arm
beginShape();
vertex(419,806);
vertex(349,803);
vertex(279,933);
vertex(379,953);
vertex(449,823);
endShape(CLOSE);
//draw left arm
beginShape();
fill(56,50,86);
bezier(385,970,375,890,225,870,195,1120);
vertex(385,970);
vertex(385,1070);
vertex(300,1100);
vertex(200,1250);
vertex(195,1120);
endShape();
//left hand
beginShape();
bezier(894,970,904,890,1054,870,1084,1120);
vertex(894,970);
vertex(894,1070);
vertex(979,1100);
vertex(1079,1250);
vertex(1084,1120);
endShape();
//right hand
beginShape();
vertex(805.25,1449);
vertex(705.25,1549);
vertex(655.25,1799);
vertex(660.25,1859);
vertex(715.25,1949);
vertex(850.25,1879);
vertex(900.25,1819);
vertex(930.25,1569);
endShape(CLOSE);
//right foot
beginShape();
vertex(473.75,1449);
vertex(573.75,1549);
vertex(623.75,1799);
vertex(618.75,1859);
vertex(563.75,1949);
vertex(428.75,1879);
vertex(378.75,1819);
vertex(348.75,1569);
endShape(CLOSE);
//left foot
beginShape();
noFill();
vertex(839,732);
vertex(826,768);
vertex(786,798);
vertex(700,803);
vertex(660,753);
vertex(620,753);
vertex(580,803);
vertex(500,798);
vertex(453,768);
endShape();
//chest
beginShape();
fill(192,23,126);
vertex(1079,1250);
vertex(1080,1450);
vertex(1030,1410);
vertex(979,1100);
endShape();
beginShape();
fill(237,121,204);
vertex(979,1100);
vertex(1013,1100+310*2/3);
vertex(950,1250);
vertex(894,1070);
endShape();
//right fingers
beginShape();
vertex(300,1100);
vertex(266,1100+310*2/3);
vertex(329,1250);
vertex(385,1070);
endShape();
beginShape();
fill(192,23,126);
vertex(200,1250);
vertex(199,1450);
vertex(249,1410);
vertex(300,1100);
endShape();
beginShape();
vertex(757,631);
vertex(827,531);
vertex(840,530);
vertex(850,550);
vertex(800,650);
vertex(775,650);
endShape(CLOSE);
//right chest thorn
beginShape();
vertex(513,631);
vertex(443,531);
vertex(430,530);
vertex(420,550);
vertex(470,650);
vertex(495,650);
endShape(CLOSE);
//left chest thorn
}