The due date is 10pm on Friday, Sep 16. Submit the programming work online as described in the to submission directions.
You may talk with other students and instructors about the assignments, but you may not look at or copy code written by others. The penalty for violating this code is an F for the entire semester.
This assignment again opens a graphics window and draws the constellation from the previous assignment (two triangles per star). There are no delays in this drawing, so all the stars will seem to appear at once.
Then all the stars start rotating in a clockwise direction at a rate of 0.04 radians at every 1/30th of a second, and they start dropping down the screen at a rate of 1 pixel at every 1/30th of a second.
The technique that we'll use is called an animation loop with double-buffering. It is not a difficult technique (you will learn it in 50 minutes on Sep 2), but it is not in the textbook, so you must come to lecture!
Come to lecture. You'll be able to start the work right after we cover animation loops!
tilt (or some other
name if you prefer) and shift. The value of
tilt is the total rotation (in radians) that the stars
have
spun
so far from their starting position. The value of shift
is the total amount (in pixels) that the stars have dropped so far
from their starting position.