Chris Pro homework 1.2 part 3

//Smiley Face Chris Pro

size(800,600);
background(0);

//face
fill(255,246,142);
ellipse(400,300,200,200);

//eyes
fill(255,255,255);
ellipse(360,260,25,25);
ellipse(430,260,25,25);
fill(0,255,0);
ellipse(360,260,12,12);
ellipse(430,260,12,12);
fill(0,0,0);
ellipse(360,260,5,5);
ellipse(430,260,5,5);

//nose
line(395,275,395,315);
line(395,315,410,315);

//freckles
fill(183,174,78);
ellipse(330,295,7,7);
ellipse(360,295,7,7);
ellipse(345,315,7,7);
ellipse(430,295,7,7);
ellipse(460,295,7,7);
ellipse(445,315,7,7);

//glasses
fill(255,255,255,0);
rect(340,247,40,25);
rect(410,247,40,25);
line(380,259.5,410,259.5);
line(340,259.5,280,247);
line(450,259.5,485,247);

//Mouth
fill(255,0,0);
bezier(350, 350, 375, 400, 425, 400, 450,350);

//Hair
fill(242,155,24);
triangle(340,200,380,200,340,230);
triangle(340,200,380,200,355,230);
triangle(350,200,400,200,375,230);
triangle(370,200,410,200,385,230);
triangle(410,200,430,200,385,230);
triangle(400,200,450,200,425,230);
triangle(425,200,460,200,460,230);

This entry was posted in Uncategorized. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *