Your instructor will assign one or more of the following problems. Submit all appropriate files for grading, including code files, screen captures, supplemental files (e.g., image files), and text files.

  1. Create a composite figure of some sort (other than the figures we have created in the text, lecture or lab) that the user can drag around using the mouse. The figure should include multiple geometric elements (your instructor will indicate whether it may include bitmap image or font elements). Your program should initially draw the figure in the center of the output panel and as the user drags it around, traces of the figure’s previous locations should slowly fade away.

  2. Modify the Pac-Man example from the text to produce both Pac-Men and Ms. Pac-Men.

  3. Write a program that displays 4 copies of Larry the Cucumber. Your solution should include a method that draws Larry given x and y coordinates. Extra Credit: Make Larry's eyes shake with energy proportional to the distance from Larry to the current mouse position. See an example below.