// Joanne Lee
// Section C
// joannele@andrew.cmu.edu
// Project-01
function setup() {
// put setup code here
createCanvas(570,600);
background(164,207,240);
}
function draw() {
// put drawing code here
strokeWeight(0);
// hair
fill(68,0,0);
ellipse(210,440,185,600);
ellipse(280,170,210,100);
ellipse(354,440,185,600);
ellipse(230,95,100,80);
// face shape
fill(255, 233, 232);
ellipse(280,300,240,300);
// left eyebrow
noFill();
stroke(81,21,21);
strokeWeight(6);
curve(215, 255, 215, 240, 255, 240, 255, 260);
curve(195, 247, 195, 247, 215, 240, 215, 245);
// right eyebrow
noFill();
stroke(81,21,21);
strokeWeight(6);
curve(305, 260, 305, 240, 345, 240, 345, 255);
curve(345, 245, 345, 240, 365, 247, 365, 247);
// left eye
strokeWeight(0);
fill(0);
arc(226,280,55,55,PI,0);
triangle(191,280,203,265,203,280);
fill(255);
arc(229,281,50,50,PI,0);
fill(0);
ellipse(228,272,27,24);
// right eye
strokeWeight(0);
fill(0);
arc(334,280,55,55,PI,0);
triangle(357,280,357,265,369,280);
fill(255);
arc(331,281,50,50,PI,0);
fill(0);
ellipse(330,272,27,24);
// left eye glare
fill(255);
ellipse(332,265,5,5);
fill(255);
ellipse(338,270,5,5);
// right eye glare
fill(255);
ellipse(232,265,5,5);
fill(255);
ellipse(238,270,5,5);
// freckles
fill(216, 193, 192);
ellipse(210,300,4,4,10);
ellipse(235,300,4,4,10);
ellipse(223,307,4,4,10);
ellipse(330,300,4,4,10);
ellipse(353,300,4,4,10);
ellipse(343,307,4,4,10);
// nose
noFill();
stroke(255,207,204);
strokeWeight(2);
curve(295,315,293,305,299,329,315,329);
strokeWeight(3.5);
curve(275,310,275,336,302,336,302,310);
// mouth
strokeWeight(0);
fill(0);
arc(300,380,61,61,-PI/6,PI,OPEN);
fill(255, 150, 183);
arc(303,386,45,45,-PI/6,PI,OPEN);
// neck
fill(255, 233, 232)
quad(250,430,318,430,325,500,243,500);
triangle(325,500,243,500,284,550)
// white shirt
fill(255);
rect(182,500,200,100);
triangle(182,500,182,600,160,600);
triangle(382,500,382,600,406,600);
fill(255,233,232);
triangle(325,500,243,500,284,550);
fill(68,0,0);
triangle(212,600,218,570,218,600);
triangle(350,570,350,600,355,600);
// ice cream
fill(247,195,221);
ellipse(510,355,47,47);
fill(194,242,208);
ellipse(510,325,47,47);
fill(255,225,133);
ellipse(510,290,47,47)
fill(255,235,205,60);
triangle(490,373,530,373,510,440)
// musical note
fill(0);
rect(35,350,50,10);
stroke(0);
strokeWeight(5);
line(35,352,35,410);
line(82,352,82,400);
strokeWeight(0);
ellipse(29,410,20,12);
ellipse(75,400,20,12)
// harry potter
fill(0);
ellipse(440,100,50,50);
ellipse(510,100,50,50);
fill(164,207,240);
ellipse(440,100,43,43);
ellipse(510,100,43,43);
strokeWeight(3);
curve(463,125,464,100,486,100,466,125);
line(415,100,405,100);
line(532,100,542,100)
strokeWeight(0);
fill(253,208,35);
quad(435,25,435,25,460,45,454,49);
quad(455,45,460,45,445,60,440,60);
quad(440,60,447,55,457,70,457,70);
// game controller
fill(230,230,250);
ellipse(47,125,60,60);
ellipse(107,125,60,60);
rect(47,95,65,50);
fill(0);
rect(40,112,8,27);
rect(31,122,27,8);
ellipse(97,125,9,9);
ellipse(107,115,9,9);
ellipse(117,125,9,9);
ellipse(107,135,9,9);
}
When faced with the task of a self portrait using basic shapes, it made me think about what characteristics were key to creating an image of myself. They ended up being my half-bun, eyeliner, and freckles. I also wanted to reflect my love for harry potter, gaming, music, and food by surrounding my portrait with my hobbies.