function setup() {
createCanvas(600,600);
background(237, 176, 176);
}
function draw() {
noStroke();
//background
fill(209, 52, 126);
rect(25, 25, 550, 550);
fill(246, 192, 66);
rect(50, 50, 500, 500);
fill(237, 176, 176);
rect(75, 75, 450, 450);
fill(209, 52, 126);
rect(100, 100, 400, 400);
//hair
fill(30, 22, 18);
ellipse(300,250, 450, 450);
rect(75, 250, 450, 500);
//body
fill(247, 197, 82);
ellipse(325, 700, 375, 500);
//face shape
fill(251, 227, 167);
quad(150, 300, 400, 150, 500, 250, 250, 400);
arc(325, 300, 350, 400, 0, PI, CHORD);
rect(400, 250, 100, 50);
//hairline
ellipse(337.5, 200, 170, 150);
quad(260, 170, 150, 300, 250, 350, 300, 300);
ellipse(405, 200, 100, 100);
quad(450, 180, 500, 250, 450, 300, 400, 290);
//eyes
//undereye
fill(236, 198, 179);
ellipse(260, 310, 40, 50);
ellipse(420, 310, 40, 50);
fill(251, 227, 167);
ellipse(265, 305, 50, 50);
ellipse(425, 305, 50, 50);
//white part
fill(255, 255, 255);
ellipse(265, 300, 40, 50);
ellipse(425, 300, 40, 50);
//pupil
fill(40, 24, 23);
ellipse(270, 295, 25, 35);
ellipse(430, 295, 25, 35);
fill(255, 255, 255)
ellipse(260, 300, 10, 10);
ellipse(420, 300, 10, 10);
//eyelash
fill(40, 24, 23);
ellipse(285, 275, 15, 15);
ellipse(445, 275, 15, 15);
fill(251, 227, 167);
ellipse(282, 270, 18, 15);
ellipse(442, 270, 18, 15);
fill(40, 24, 23);
ellipse(265, 280, 50, 10);
ellipse(425, 280, 50, 10);
//eyebrows
ellipse(265, 250, 50, 10);
ellipse(425, 250, 50, 10);
//mouth
fill(240, 178, 151);
ellipse(325, 415, 80, 80);
fill(251, 227, 167);
ellipse(330, 380, 80, 50);
//nose
fill(240, 178, 151);
ellipse(365, 360, 30, 40);
fill(251, 227, 167);
ellipse(361, 363, 27, 32);
}
Doing this project made me look at my face in terms of the shapes that make it up. I first sketched out my self character on paper, and then looked for what shapes could create this drawing.