
Figure 1. |
Figure 2. |
Figure 3. |
Figure 4. |
Figure 5. |
Figure 6. |
There are several example programs for chapter 21: download chapter21.zip.
For an excellent short refresher course in trigonometry, visit http://aleph0.clarku.edu/~djoyce/java/trig/.
Find out why radians are useful in trigonometric functions. Start at the same page.
Modify tkpool.py so that xdelta is always 2.0 pixels rather than the ydelta.
For more nformation on Pong and its history, start by visiting http://www.pong-story.com/intro.htm; an intriguing bit of history can be found here: http://www.irational.org/APD/cyber/pong_fas.htm.
The best place on the web to start learning about color, and the most accurate by far, is Charles Poynton’s Color Technology page, at http://www.poynton.com/Poynton-color.html.
|
|
|