//Jasmine Lee
//Section C
//jasmine4@andrew.cmu.edu
//Project-01-Face
function setup () {
createCanvas(600, 600);
background (180, 150, 210);
angleMode(DEGREES);
//reflection
strokeWeight(0);
fill(190, 250, 255);
quad(420, 90, 410, 280, 330, 275, 345, 85);
quad(420+95, 90+6, 410+95, 280+6, 330+95,
275+6, 345+95, 85+6);
quad(420-12, 90+210, 410-12, 280+210, 330-12,
275+210, 345-12, 85+210);
quad(420-12+95, 90+210+6, 410-12+95, 280+210+6,
330-12+95, 275+210+6, 345-12+95, 85+210+6);
//hair-leftback
strokeWeight(0);
fill(50, 40, 35);
triangle(170, 275, 178, 480, 120, 470);
//hair-rightback
strokeWeight(0);
fill(50, 40, 35);
triangle(330, 275, 368, 470, 290, 480);
//body
strokeWeight(0);
fill(255, 198, 0);
rect(143, 400, 200, 300, 50);
//arm-lines
strokeWeight(1.5);
stroke(222, 190, 136);
line(175, 475, 155, 600);
line(310, 475, 330, 600);
//neck
strokeWeight(0);
fill(253, 231, 187)
ellipse(247, 425, 80, 55);
//neck-shadow
strokeWeight(0);
fill(222, 190, 136)
ellipse(247, 425, 80, 45);
//head
strokeWeight(0);
fill(253, 231, 187);
rect(160, 240, 172, 190, 77);
//lefteye
strokeWeight(0);
fill(255, 255, 255);
ellipse(200, 350, 41, 30);
//righteye
strokeWeight(0);
fill(255, 255, 255);
ellipse(290, 350, 41, 30);
//leftpupil
strokeWeight(0);
fill(0,0,0);
ellipse(200, 350, 25, 28);
//rightpupil
strokeWeight(0);
fill(0,0,0);
ellipse(290, 350, 25, 28);
//leftpupilshine
strokeWeight(0);
fill(255, 255, 255);
ellipse(205, 339, 5, 5);
//rightpupilshine
strokeWeight(0);
fill(255, 255, 255);
ellipse(295, 339, 5, 5);
//leftblush
strokeWeight(0);
fill(250, 180, 160);
ellipse(185, 380, 30, 30);
//rightblush
strokeWeight(0);
fill(250, 180, 160);
ellipse(305, 380, 30, 30);
//noseshadow
strokeWeight(0);
fill(222, 190, 136);
triangle(235, 370, 245, 375, 255, 370);
//lips
strokeWeight(0);
fill(255, 170, 150);
ellipse(245, 394, 30, 10);
//mouth-line
strokeWeight(1);
stroke(150, 140, 100);
noFill();
arc(245, 389, 40, 12, 14, 167);
//hair
strokeWeight(4);
stroke(50, 40, 35);
fill(50, 40, 35);
arc(247, 305, 180, 175, 180, 360);
//hair-left
strokeWeight(4);
stroke(50, 40, 35);
noFill();
arc(44, 335, 300, 330, 340, 30);
strokeWeight(25);
stroke(50, 40, 35);
noFill();
line(167, 300, 167, 490);
//hair-right
strokeWeight(20);
stroke(50, 40, 35);
noFill();
line(329, 300, 326, 490);
//hair-bangs
strokeWeight(0);
fill(50, 40, 35);
arc(157, 285, 150, 100, 360, 90);
arc(335, 285, 230, 100, 90, 180);
//hair-barrette
strokeWeight(0);
fill(105, 255, 255);
rect(155, 333, 25, 5);
//eyebrows
strokeWeight(3.5);
stroke(0);
noFill();
arc(200, 360, 70, 70, 220, 295);
arc(290, 360, 70, 70, 240, 315);
}
Doing this portrait was an interesting process. Since it was drawn using the computer, the process was a bit tedious because of the lack of direct translation from hand to “paper.” It was also a little tricky figuring out the coordinates for some of the shapes I wanted to draw, as well as the angles of the curves. I decided to try out a more cartoon-like style that is suitable with flat shapes and colors.