/** Jenna Klima Mr. Martin 10/24/14 **/ void setup ( ) { //set screen size and use reset routine size ( 1000, 600 ); reset ( ); } void reset ( ) { //set everything to their starting positions } void draw ( ) { //draw all my voids background ( 150, 150, 250 ); ground ( ); sunMoon ( ); ladder ( ); drawMonkey ( ); monkeyFunctions ( ); } void ground ( ) { //draw green ground noStroke ( ); fill ( 150, 250, 150 ); rect ( 0, height-101, width-1, 100, 20 ); stroke ( 0 ); } void sunMoon ( ) { //make a yellow sun noStroke ( ); fill ( 250, 250, 100 ); ellipse( 700, 100, 100, 100 ); stroke ( 0 ); } void ladder ( ) { //draw red ladder fill ( 255, 50, 0 ); //rungs rect ( 240, 175, 190, 20, 20 ); rect ( 240, 275, 190, 20, 20 ); rect ( 240, 375, 190, 20, 20 ); rect ( 240, 475, 190, 20, 20 ); //stilts rect ( width / 2.5, height / 6, 20, 500, 20 ); rect ( width / 4, height / 6, 20, 500, 20 ); } /* void drawMonkey ( ) { fill ( 150, 70, 0 ); ellipse ( width / 3, height / 1.1, 60, 80 ); strokeWeight ( 15 ); //-- stroke ( 150, 70, 0 ); stroke ( 0 ); noFill ( ); //arms //left arm on your left arc ( width / 3, height / 1.17, 100, 50, 2, TWO_PI / 1.9 ); //right arm on your right arc ( width / 2.83, height / 1.17, 100, 50, 0.3, HALF_PI ); //legs //left leg on your left arc ( width / 2.85, height / 1 - 11, 100, 50, PI, PI + QUARTER_PI ); //right leg on your right arc ( width / 2.8, height / 1 - 11, 25, 50, PI + QUARTER_PI, TWO_PI ); strokeWeight ( 1 ); stroke ( 0 ); } */ void drawMonkey ( ) { fill ( 150, 70, 0 ); ellipse ( width / 3, height / 1.2, 60, 80 ); strokeWeight ( 15 ); //-- stroke ( 150, 70, 0 ); stroke ( 0 ); noFill ( ); //arms //left arm on your left arc ( width / 2.85, height / 1.2, 100, 50, PI, PI + QUARTER_PI ); //right arm on your right arc ( width / 2.8, height / 1.2, 25, 50, PI + QUARTER_PI, TWO_PI ); //legs //left leg on your left arc( width / 2.87, height / 1.1, 70, 70, PI, PI + QUARTER_PI ); //right leg on your right //arc ( width / 2.83, height / 1.2, 100, 50, 0.3, HALF_PI ); arc ( width / 2.8, height / 1.1, 25, 50, PI + QUARTER_PI, TWO_PI ); strokeWeight ( 1 ); stroke ( 0 ); } void monkeyFunctions ( ) { } void keyPressed ( ) { //key event hadler } void mousePressed ( ) { //mouse event handler }