void setup() { size (640,480); background (100, 0, 200); frameRate(30); } void draw() { //Draw big bird's head fill (200, 15, 255); arc (50, 50, 170, 170, 360, PI/2); //Draw big bird's eye fill (255, 45, 25); ellipse (45,10, 40, 35); //Draw green rectangle fill (0, 85, 30); rect (500,360, 150, 95); //Draw blue rectangle fill (0,255,255); rect (100, 400, 80, 100); //Draw big beak stroke (0,255,0); fill (250, 150, 200); quad (350, 150, 550, 100, 200, 250, 500, 100); fill (255,255,0); quad (350, 200, 10, 50, 74, 85, 30, 100); quad (100, 30, 85, 74, 50, 10, 200, 350); //Draw blue ball fill (10, 0, 400); stroke (0); ellipse (250, 300, 45, 45); //Draw top beak again? stroke (0,255,0); fill (220, 150, 200); quad (350, 400, 550, 300, 200, 450, 500, 300); //Draw little beak fill (255, 255, 0); triangle (420, 420, 300, 350, 400, 420); triangle (420, 420, 350, 300, 420, 400); //Draw little bird fill (200, 15, 225); stroke (0); arc (450, 420, 75, 75, 360, PI/2); fill (255, 0, 0); ellipse (450, 400, 12, 15); //Draw little beak again? fill (255, 255, 0); stroke (0, 255, 0); triangle (420, 420, 300, 350, 400, 420); triangle (420, 420, 350, 300, 420, 400); //Draw little bird's body fill (200, 15, 225); stroke (0); ellipse (490, 480, 85, 95); //Draw big bird's body and legs fill (200, 15, 255); ellipse (30, 230, 135, 215); line (20, 330, 15, 360); line (30, 330, 35, 360); fill (100, 255, 200); ellipse (75, 230, 45, 95); } void mousePressed() { fill (10,0,400); stroke(0); ellipse(mouseX,mouseY,45,45); }