""" Alda Boyd Homework 2 due Sept 7 """ size(400,500) # You can specify a color like this using red,green,blue components. # With this color we tried to approximate a shade of pink. # fill(255,200,200) # You can also specify a color this, with a hex code. # You can copy/paste hex code from the Processing Color Selector # Remember to put them in double quotes like this: fill("#ED059C") rect(150,50,75,20) rect(110,70,40,20) rect(225,70,40,20) rect(265,90,20,20) rect(90,90,20,20) rect(70,110,20,40) rect(285,110,20,40) rect(306,150,20,70) rect(50,150,20,70) rect(170,160,45,20) rect(70,220,40,20)#Bottom face left rect(110,240,40,20)#Bottom face left rect(150,220,80,20)#Bottom Middle Face rect(230,240,40,20)#Bottom Right Face rect(269,220,38,20)#Bottom Right Face # The pink color specified above will persist until you change # it again. Here I'm changing the color to white: fill(255) rect(250,150,35,35) #Blush Right rect(230,125,35,35) #Eye Right rect(230,125,20,20)#Shine Right rect(90,150,35,35)#Blush Left rect(110,125,35,35)#Eye Left rect(110,125,20,20) #Shine Left #rect(200,125,20,20) # And here I'm changing the color again to a shade of brown # using a hex code I got from the Color Selector: fill( "#986300" ) rect(70,240,20,40)#cone left side rect(90,280,200,20)#cone middle rect(287,240,20,40)#Cone right side rect(90,300,20,30) #Cone mid left rect(270,300,20,30) #Cone mid right rect(110,330,20,40) #Cone mid lower left rect(130,370,20,40) #Cone mid lower lower left rect(250,330,20,40) #Cone mid lower right rect(230,370,20,40) #Cone mid lower lower right