Computer Graphics (CS4300) 2011S: Assignment 1

DUE: 9am, Wed Jan 19

Worth: 5% of your final grade

Goals

Assignment

  1. You are to create a 2D “sampler” program, with at least 5 drawings in at least 5 rectangular regions in one window.
  2. Your drawings should use color and a variety of graphics primitives, including at leastThese drawings must be automatic, and not require any user input.
  3. Write well-organized code with appropriate comments.
  4. The drawings should be organized into modular functions, methods, or classes. They should work equally well in any of the rectangles. One way to do this is to make each drawing function take the upper left corner, width, and height of the target region as parameters.
  5. Make your program show off your work in two different arrangements, either by opening two separate windows or by running the code with different invocations (e.g. different command line arguments). See below for examples.
  6. As with most homeworks, you are free to add features for extra credit after you have completed all required parts of the assignment. For example,See the Extra Credit policy for how extra credit will be graded.

Turn In

Follow the instructions on the assignments page.

Grading

Out of 100 total possible points, 60 will be assigned based on the organization, functionality, clarity, and documentation of your code. 40 will be assigned based on the graphic output of your program.

Example Images