jooheek_portrait
//Joo Hee Kim
//Section E
//jooheek@andrew.cmu.edu
//Project-01
function setup() {
createCanvas(600, 600);
}
function draw() {
background(49, 45, 142);
strokeWeight(0);
//HAIR
fill(202, 165, 145);
ellipse(280, 250, 350, 300);
fill(202, 165, 145);
arc(150, 325, 115, 320, 900, 100);
fill(202, 165, 145);
quad(93, 290, 130, 325, 200, 475, 60, 475);
fill(49, 45, 142);
arc(24, 275, 140, 450, 10, 90);
fill(202, 165, 145);
arc(160, 473, 200, 100, 0, 130);
fill(202, 165, 145);
ellipse(440, 250, 50, 100);
fill(202, 165, 145);
quad(400, 250, 465, 245, 505, 475, 380, 475);
fill(49, 45, 142);
arc(515, 250, 100, 450, 70, 80);
fill(202, 165, 145);
arc(405, 473, 200, 100, 350, 130);
//EARS
fill(250, 220, 200);
ellipse(145, 340, 20, 50);
fill(250, 220, 200);
ellipse(455, 340, 20, 50);
fill(239, 207, 186);
ellipse(145, 340, 10, 30);
fill(239, 207, 186);
ellipse(455, 340, 10, 30);
//FACE
strokeWeight(0);
fill(250, 220, 200);
ellipse(300, 300, 310, 330);
fill(250, 220, 200);
rect(145, 300, 310, 40);
fill(250, 220, 200);
ellipse(300, 370, 320, 280);
fill(244, 212, 191);
ellipse(200, 400, 100, 100);
fill(244, 212, 191);
ellipse(395, 400, 100, 100);
fill(249, 235, 228);
ellipse(200, 380, 50, 40);
fill(249, 235, 228);
ellipse(395, 380, 50, 40);
fill(249, 235, 228);
ellipse(370, 200, 50, 40);
//EYEBROWS
fill(144, 119, 105)
rect(200, 280, 70, 20);
fill(144 ,119, 105);
triangle(200, 280, 220, 300, 170, 300);
fill(144, 119, 105);
rect(325, 280, 70, 20);
fill(144, 119, 105);
triangle(395, 280, 420, 300, 385, 300);
//NOSE
fill(249, 235, 228);
rect(270, 280, 55, 20);
fill(249, 235, 228);
triangle(270, 300, 325, 300, 300, 330);
fill(239, 207, 186);
rect(280, 380, 40, 30);
fill(249, 235, 228);
rect(288, 320, 20, 70);
fill(249, 235, 228);
rect(280, 370, 40, 20);
fill(250, 220, 200);
ellipse(272, 350, 40, 100);
fill(250, 220, 200);
ellipse(325, 350, 40, 100);
//LIPS
fill(255, 100, 100);
ellipse(300, 430, 60, 40);
fill(250, 220, 200);
rect(270, 400, 60, 30);
fill(220, 100, 100);
triangle(290, 415, 310, 430, 270, 430);
fill(220, 100, 100);
triangle(310, 415, 330, 430, 290, 430);
//EYES
fill(50, 50, 50);
ellipse(225, 327, 60, 10);
fill(255, 255, 255);
ellipse(225, 330, 60, 10);
fill(0, 0, 0);
ellipse(225, 330, 10, 10);
fill(50, 50, 50);
ellipse(370, 327, 60, 10);
fill(255, 255, 255);
ellipse(370, 330, 60, 10);
fill(0, 0, 0);
ellipse(370, 330, 10, 10);
}
While I wanted to make my portrait simple, I wanted to give emphasis to the features that are the most unique and prominent on my face. I sketched the way that I wanted to make if first then made my code as similar to it as possible.