// Ana Furtado
// Section E
function setup() {
createCanvas(400, 400);
background(54, 51, 158); // blue
}
function draw() {
stroke(84, 18, 18); // reddish brown
strokeWeight(30);
line(135, 40, 80, 399); // back hair left
line(135, 40, 115, 399);
line(265, 40, 325, 399); // back hair right
line(265, 40, 275, 399);
stroke(0, 0, 0); // black
strokeWeight(1);
fill(0, 206, 209); // light blue
ellipse(100, 210, 30, 30); // earrings
ellipse(300, 210, 30, 30);
fill(255, 228, 196); // skin
ellipse(200, 400, 100, 400); // neck
fill(255, 228, 196); // skin
ellipse(200, 200, 200, 400); // face
fill(255, 255, 255); // white
ellipse(150, 150, 50, 100); // left eye
ellipse(250, 150, 50, 100); // right eye
fill(139, 69, 19); // brown
ellipse(150, 150, 25, 50); // left pupil
ellipse(250, 150, 25, 50); // right pupil
fill(255, 228, 196); // skin
circle(200, 200, 20, 20); // nose
line(190, 200, 190, 125);
line(210, 200, 210, 125);
fill(220, 20, 60); // red
ellipse(200, 300, 110, 50) // mouth
line(150, 300, 250, 300);
stroke(84, 18, 18); // reddish brown
strokeWeight(1);
fill(84, 18, 18); // reddish brown
ellipse(200, 40, 150, 80); // hair top
strokeWeight(10);
line(120, 40, 50, 399); // hair left
line(120, 40, 75, 399);
line(270, 40, 375, 399); // hair right
line(270, 40, 350, 399);
noLoop();
}
I found the placement of the face and the uploading of this assignment the most challenging parts of the assignment.