For this project, I tried to incorporate all the elements I think represents myself. The blue t-shirt, hairpin, intense face blush, and pink lipstick are what I wear the most often these days. I experimented using different shapes, colors, and sizes to create all these elements of myself into the self portrait.
//Stefanie Suk
//15-104 D
//ssuk@andrew.cmu.edu
//Self Portrait Project
function setup() {
createCanvas(600, 600);
background(220);
}
function draw() {
fill(255, 111, 0);
noStroke();
rect(0, 0, 600, 600); // background
fill(70, 27, 9);
noStroke();
ellipse(312, 300, 480, 530); //hair circle
fill(70, 27, 9);
noStroke();
rect(72, 300, 480, 300); // hair rectangle
fill(255, 233, 201);
noStroke();
ellipse(312, 281, 323.2, 398.9); // face
fill(70, 27, 9);
noStroke();
rect(167, 108, 296, 59); // bangs rectangle
fill(70, 27, 9);
noStroke();
ellipse(313, 103.5, 212, 99); // bangs circle
fill(255);
noStroke();
ellipse(245, 253.7, 92.6, 92.6); // left eye
fill(255);
noStroke();
ellipse(375, 253.7, 92.6, 92.6); // right eye
fill(0);
noStroke();
ellipse(245, 280, 34.3, 34.3); // left eye black
fill(0);
noStroke();
ellipse(375, 280, 34.3, 34.3);
fill(70, 27, 9);
noStroke();
rect(200, 180, 83.2, 10); // left eyebrow
fill(70, 27, 9);
noStroke();
rect(331, 180, 83.2, 10); // right eyebrow
stroke(0);
line(296.6, 291.6, 270.2, 349.8);
stroke(0);
line(270.2, 349.8, 308.3, 359.9); // nose
fill(255, 77, 135);
noStroke();
arc(306, 395, 108, 50, 0, PI, CHORD); // lips
fill(255, 233, 201);
noStroke();
rect(264.7, 457.6, 91.3, 36.5); //neck
fill(0, 0, 255);
noStroke();
ellipse(312, 620, 408, 260, PI, 0, CHORD); // body
fill(255, 233, 201);
noStroke();
ellipse(310.5, 497, 92, 54); // neck2
fill(0, 0, 255);
noStroke();
ellipse(127.4, 114.1, 42.4, 42.4); // left hairpin
fill(0, 0, 255);
noStroke();
ellipse(162.4, 135.7, 42.4, 42.4); // right hairpin
fill(255, 233, 201);
noStroke();
ellipse(150.5, 290.1, 67, 94); // left ear
fill(255, 233, 201);
noStroke();
ellipse(470.5, 290.5, 67, 94); // right ear
fill(0, 0, 255);
noStroke();
ellipse(146, 353, 8, 66); // left earring
fill(0, 0, 255);
noStroke();
ellipse(472.5, 353, 8, 66); // right earring
fill(255, 202, 201);
noStroke();
ellipse(207.5, 346, 47, 26); // left blush
fill(255, 202, 201);
noStroke();
ellipse(395.5, 346, 47, 26); // left blush
}