cis20.1-fall2007-sklar, assignment II, part 2

INFORMATION


INSTRUCTIONS

  1. For the first part of the assignment, you created several Java and HTML files. For this second part of the assignment, you will create a PDF design document and at least one Java file. If your interface is an applet, then you will also create an HTML file.
  2. When you are completely finished with all the steps in BOTH PARTS of the assignment, zip all your files together and email the zip file to me as an attachment.
  3. The subject line of your email should say: cis20.1 hwII
  4. My email address is: sklar@sci.brooklyn.cuny.edu.

BE SURE TO ASK IN THE LAB IF YOU NEED HELP WITH ANY STEPS!!!!


project specifications.

In the first part of this assignment, you modified the bounce example. For this part of the assignment, you can also refer to the dots examples posted on the class web page.

You need to build an interface in JAVA that meets the following TECHNICAL SPECIFICATIONS. Your interface must include:

  1. either a Mouse Listener or a Key Listener (both is okay too)

  2. drawing that includes at least 3 shapes (line, oval, rectangle, arc and/or polygon); at least 1 type must be filled

  3. objects drawn (as above) in at least 3 different colors
Your interface must meet the following DESIGN SPECIFICATIONS:
  1. your interface will show a viewing window on a "world" in which objects are animated (like the balls moving around in the bounce example)

  2. note that this viewing window will only be able to display a portion of the "world" at a time; your program will have to keep track of what is going on in the whole world all the time---and what portion of that is viewable by the user

  3. your user will be able to move the viewing window around to reveal different portions of the world, using either the mouse or keyboard
Your world can contain anything you want. You can make it as creative and/or beautiful or strange or ugly or boring as you want. Just make sure you meet the specifications listed above :-)

NOTE THAT WE WILL DISCUSS HOW TO DO THINGS LIKE COORDINATE TRANSFORMATIONS AND CLIPPING --- THE KINDS OF TECHNIQUES YOU WILL NEED TO IMPLEMENT THE VIEWING WINDOW --- IN CLASS ON MONDAY OCT 15.


points breakdown.