void setup () { size (600, 600); } void draw () { background (255); translate (mouseX, mouseY); //face fill (252, 216, 148); //set the color to skin color rect (130, 130, 100, 100); //face //bang fill (0); //set the color to black rect (130, 130, 25, 40); //bang #1 fill (0); //set the color to black rect (165, 130, 30, 40); //bang #2 fill (0); //set the color to black rect (205, 130, 25, 40); //bang #3 //eyes fill (67, 45, 3); //set the color to brown ellipse (160, 190, 10, 10); //left eye fill (67, 45, 3); //set the color to brown ellipse (200, 190, 10, 10); //right eye //mouth fill (255, 78, 46); //set the color to red rect (170, 210, 20, 10); //mouth //hair fill (0); //set the color to black rect (105, 170, 25, 15); //(left) right hair fill (0); //set the color to black rect (92.5, 185, 25, 15); //(left) middle hair fill (0); //set the color to black rect (80, 200, 25, 15); //(left)left hair fill (0); //set the color to black rect (230, 170, 25, 15); //(right) left hair fill (0); //set the color to black rect (242.5, 185, 25, 15); //(right) middle hair fill (0); //set the color to black rect (255, 200, 25, 15); //(right) right hair //ribbon fill (255, 0, 0); //set the color to red rect (170, 110, 20, 20); //ribbon #1 fill (122, 234, 19); //set the color to green quad (140, 100, 170, 110, 170, 130, 150, 130); //ribbon #2 quad (190, 110, 220, 100, 210, 130, 190, 130); //ribbon #3 fill (33, 38, 113); //set the color to blue quad (135, 115, 170, 120, 170, 130, 140, 130); //ribbon #4 quad (190, 120, 225, 115, 220, 130, 190, 130); //ribbon #5 //body fill (255); //set the color to white rect (145, 230, 70, 55); //top fill (255, 0, 0); //set the color to red quad (145, 285, 215, 285, 245, 315, 115, 315); //skirt fill (252, 216, 148); //set the color to skin color rect (145, 315, 20, 50); //left leg fill (252, 216, 148); //set the color to skin color rect (195, 315, 20, 50); //right leg fill (2, 106, 247); //set the color to blue quad (145, 365, 165, 365, 165, 375, 135, 375); //left shoe fill (2, 106, 247); //set the color to blue quad (195, 365, 215, 365, 225, 375, 195, 375); //right shoe fill (0); //set the color to black triangle (155, 230, 180, 230, 155, 240); //left shirt collar fill (0); //set the color to black triangle (180, 230, 205, 230, 205, 240); //right shirt collar noStroke(); //disable stroke fill (226, 247, 2); //set the color to yellow rect (155, 260, 10, 10); //left pocket noStroke(); //disable stroke fill (226, 247, 2); //set the color to yellow rect (195, 260, 10, 10); //right pocket noStroke(); //disable stroke fill (226, 247, 2); //set the color to yellow ellipse (160, 270, 10, 10); //bottom of the left pocket noStroke(); //disable stroke fill (226, 247, 2); //set the color to yellow ellipse (200, 270, 10, 10); //bottom of the right pocket stroke (0); //set stroke to black fill (0); //set the color to black rect (135, 245, 10, 15); //left arm shirt sleeve fill (252, 216, 148); //set the color to skin color rect (100, 247.5, 35, 10); //left arm fill (252, 216, 148); //set the color to skin color ellipse (100, 252.5, 10, 10); //left arm fist fill (0); //set the color to black rect (215, 245, 10, 15); //right arm shirt sleeve fill (252, 216, 148); //set the color to skin color rect (225, 247.5, 35, 10); //right arm fill (252, 216, 148); //set the color to skin color ellipse (260, 252.4, 10, 10); //right arm fist }