function setup() {
createCanvas(600, 600);
background(186,173,218);
}
function draw() {
//hair
strokeWeight(0);
fill(60,40,30);
//left side
ellipse(130,400,90,100);
ellipse(130,340,100,150);
ellipse(140,280,100,150);
ellipse(155,240,90,220);
//back
ellipse(170,400,100,100);
ellipse(220,400,100,100);
ellipse(260,400,100,100);
ellipse(300,400,100,100);
ellipse(340,400,100,100);
ellipse(380,400,100,100);
ellipse(420,400,100,100);
ellipse(470,400,100,100);
//right side
ellipse(480,400,90,100);
ellipse(470,340,100,150);
ellipse(460,280,100,150);
ellipse(450,220,80,150);
//body
fill(100,100,60);
strokeWeight(0);
ellipse(300,600,425,240);
//neck
fill(245,210,190);
ellipse(300,513,160,80);
rect(240,440,125,90);
fill(235,200,180);
ellipse(300,440,130,52);
//head
fill(255,220,200);
rect(163,130,275,200);
ellipse(300,300,280,330);
//eyebrows
strokeWeight(7);
ellipse(240,260,80,40);
strokeWeight(0);
ellipse(240,265,90,40);
strokeWeight(7);
ellipse(360,260,80,40);
strokeWeight(0);
ellipse(360,265,90,40);
//eyes
//back
fill(205,170,150);
ellipse(240,275,70,40);
ellipse(360,275,70,40);
//front
fill(255)
ellipse(240,277,60,35);
ellipse(360,277,60,35);
//color
fill(70,50,40);
ellipse(240,275,30,30);
ellipse(360,275,30,30);
//pupil
fill(0);
ellipse(240,275,20,20);
ellipse(360,275,20,20);
//ears
fill(255,220,200);
ellipse(155,275,30,60);
ellipse(445,275,30,60);
//lips
fill(200,138,120);
ellipse(300,400,90,20);
ellipse(280,395,60,20);
ellipse(320,395,60,20);
strokeWeight(2);
line(255,395,345,395);
line(245,390,255,395);
line(355,390,345,395);
//nose
fill(255,220,200);
arc(300,330,40,30,0,PI, PI + QUARTER_PI);
//bangs
strokeWeight(0);
fill(60,40,30);
ellipse(200,160,140,90);
ellipse(160,200,70,125);
ellipse(450,200,60,120);
rotate(radians(10));
ellipse(360,90,270,125);
}
I really enjoyed the freedom this project gave me to explore the basics of programming. As this is my first experience with coding, I really enjoyed seeing how I could make something appear just by writing a short line of code.
My process started with a quick napkin sketch of the general shapes I wanted and where they would be. I then mainly worked on guess and check with the exact placement of the shapes. In future projects, I want to be more careful in my planning and tracking of where different things are located to make the process a bit more streamlined.