function setup() {
createCanvas(600,700); //function calls (parameter)
background(209, 170, 130); //(r,g,b)
}
function draw() {
noStroke();
//eyelashes
//line(600,180,600,200);
//eyes
fill(179,131,82);
ellipse(200,250,100,100);
fill(179,131,82);
ellipse(400,250,100,100);
fill(255,255,255);
ellipse(200,258,85,85);
fill(255,255,255);
ellipse(400,258,85,85);
fill(29,18,6);
ellipse(200,250,70,70);
fill(29,18,6);
ellipse(400,250,70,70);
//nose
fill(195,128,101);
//arc(300, 330, 80, 80, 0, PI + QUARTER_PI, CHORD);
arc(300, 330, 80, 80, 0,PI, PI + QUARTER_PI);
//mouth
fill(204,98,98);
ellipse(275,455,100,100);
fill(204,98,98);
ellipse(325,455,100,100);
fill(55,38,21);
ellipse(300,470,150,100);
fill(209,170,130);
rect(200,460,200,200);
fill(204,98,98);
ellipse(300,465,140,50);
fill(55,38,21);
ellipse(300,460,150,30);
fill(55,38,21);
ellipse(300,450,135,30);
//hair
fill(55,38,21); //dark brown
ellipse(100,0,600,250);//right hair
ellipse(600,50,500,350);//left hair
fill(55,38,21); //dark brown
ellipse(-30,200,250,600);//right hair
fill(55,38,21); //dark brown
ellipse(650,200,250,900);//right hair
fill(55,38,21); //dark brown
//triangles
fill(255,255,255);
triangle(0,700,50,600,100,700);
fill(255,255,255);
triangle(100,700,150,600,200,700);
fill(255,255,255);
triangle(200,700,250,600,300,700);
fill(255,255,255);
triangle(300,700,350,600,400,700);
fill(255,255,255);
triangle(400,700,450,600,500,700);
fill(255,255,255);
triangle(500,700,550,600,600,700);
//details
ellipse(245,380,10,10);
//rect(150,0,464,450); //(int x, int y, int width, int length)
}
If anyone knows how I look like, they would say that I don’t look anything like this. As if I wore a paper bag, this is a portrait is a representation of how I thought my appearance looked when I was a teenager still growing up. I had fun with the assignment because I had a lot of freedom to explore with different elements.