This homework is due on February 12, 2010. and must be submitted as a pde file to the UNCA moodle activity HW 2.
Read pages 10 to 68 of the textbook and then write a program that repeats a pattern of rectangles and ellipses in several places throughout the screen. Try to put a little variation in the pattern. Use a screen size of 400×400.
Keep the pattern simple! Focus on the loop.
Remember to comment your code and to submit only your source code.
Grades will be based on the following criteria.
10% | creativity and aesthetics |
10% | image size |
20% | use of graphical primitives |
40% | use of loops |
20% | documentation of code |