eylim – portrait
/*Erin Lim
*Section A
*eylim@andrew.cmu.edu
*Assignment 01-Self Portrait
*/
function setup() {
createCanvas(900, 800);
background(227, 209, 200);
fill(255, 241, 209); //face
ellipse(500, 495, 460, 450)
fill(255, 255, 255); //left eye
ellipse(380, 470, 40, 40);
fill(255, 255, 255); //right eye
ellipse(580, 470, 40, 40)
fill(3, 3, 3) //right pupil
ellipse(580, 468, 30, 30)
fill(3, 3, 3) //left pupil
ellipse(380, 468, 30, 30)
fill(255, 255, 255) // mouth
triangle(450, 600, 550, 650, 560, 600)
stroke(255, 202, 0); // left hair
fill(0, 0, 0)
curve(560, 1800, 250, 550, 560, 270, 1100, 600)
stroke(255, 202, 0); // right hair
fill(0, 0, 0)
curve(350, 650, 750, 550, 550, 270, 20, 500)
fill(5, 5, 5) // left eyebrow
line(300, 430, 420, 430)
fill(5, 5, 5) // right eyebrow
line(550, 430, 670, 430)
fill(255, 241, 209) // left ear
circle(250, 500, 45)
fill(255, 241, 209) // right ear
circle(750, 500, 45)
function draw() {
}
}