/*
Eunice Choe
Section E
ejchoe@andrew.cmu.edu
Project-01
*/
function setup() {
createCanvas(600, 600);
background(195, 80, 54);
}
function draw() {
noStroke();
//hair
fill(39, 25, 3);
rect(175, 250, 250, 300);
ellipse(300, 250, 250, 250);
//face
fill(244, 221, 184);
ellipse(300, 290, 200, 230);
//bangs
fill(39, 25, 3);
quad(190, 270, 270, 240, 360, 160, 240, 185);
//ear
fill(244, 221, 184);
ellipse(200, 300, 40, 40);
//makeup
fill(230, 145, 98);
ellipse(248, 280, 55, 30);
ellipse(357, 280, 55, 30);
fill(254, 246, 230);
ellipse(225, 310, 30, 20);
ellipse(380, 310, 30, 20);
//eyes
fill(255, 255, 255);
ellipse(255, 290, 40, 25);
ellipse(350, 290, 40, 25);
rect(235, 277, 40, 15);
rect(330, 277, 40, 15);
fill(39, 25, 3);
rect(226, 277, 50, 4, 20);
rect(329, 277, 50, 4, 20);
ellipse(260, 290, 20, 20);
ellipse(355, 290, 20, 20);
fill(255, 255, 255);
ellipse(255, 285, 5, 5);
ellipse(350, 285, 5, 5);
//brows
fill(39, 25, 3);
rect(220, 250, 55, 6, 20);
rect(330, 250, 55, 6, 20);
//nose
fill(249, 204, 151);
rect(290, 290, 30, 55, 20);
fill(244, 221, 184);
ellipse(310, 335, 10, 10);
//mouth
fill(216, 123, 104);
quad(270, 370, 305, 360, 330, 370, 305, 380);
fill(245, 155, 140);
triangle(270, 370, 305, 360, 305, 380);
//neck
fill(244, 221, 184);
rect(270, 390, 60, 30);
//shirt
fill(144, 214, 212);
rect(150, 420, 300, 400, 100);
fill(70, 131, 138);
rect(340, 490, 55, 70, 20);
}
In my self portrait, I wanted to incorporate details that clearly reflect me. For instance, I chose to include my long, dark hair and red eye shadow. Overall, I really enjoyed this project!