Want to code a simple bouncing algorithm? If so, read this article and play with the GLSL Hacker demos.
Bouncing Boxes at Window Borders

3D Programming, Prototyping, Pixel Hacking and Gamedev with GeeXLab Proto-Engine
Want to code a simple bouncing algorithm? If so, read this article and play with the GLSL Hacker demos.