// GyuEun Park
// 15-104 E
// gyueunp@andrew.cmu.edu
// Project-01
function setup() {
createCanvas(600, 600);
background(93,129,182);
}
function draw() {
// head
fill(0);
noStroke();
ellipse(270,220.7,261,290);
// right hair
smooth(0);
fill(0);
quad(214,190,419,550,400.9,220,213,190);
// left hair
fill(0);
quad(142,250,190,150,420,550,190,550);
// face
fill(255);
noStroke();
quad(175,300,210,150,330,396,230,396);
fill(0);
triangle(303,400,335,400,317,370);
// eye
fill(237,240,251);
stroke(178,188,195);
strokeWeight(0.6);
arc(218,275,55,50,0,PI, CHORD);
//eye details
fill(108,125,140);
arc(218,275,35,30,0,PI, CHORD);
fill(0);
strokeWeight(0.4);
arc(218,275,17.5,15,0,PI, CHORD);
fill(0);
stroke(0);
strokeWeight(3);
line(186,272.5,245,274);
//mouth
fill(0);
stroke(0);
strokeWeight(2);
line(254,346,275,346);
//lip piercing
fill(178,191,199);
noStroke(0);
ellipse(256,352,5,5);
fill(255);
noStroke(0);
ellipse(255,351.4,2,2);
}
I created a simple self-portrait by using minimal details that accentuate my unique features. Although I went through a long trial-and-error process to find the most suitable shapes and angles, I enjoyed this project.