2D Animation

A bouncing ball game for first-year computer graphics


Neil A. Dodgson, Victoria University of Wellington.

A bouncing ball is one of the simplest physics simulations yet provides a novice graphics programmer with a host of useful experience. The student creates a ball that bounces off the walls of a box, adds a bat, then gamifies the whole experience into a simple block-out game. The assignment is designed as the first significant piece of programming on a 2D computer graphics course. It is designed to be accessible to students who have taken an introductory programming course and who have physics and algebra to the level of a high-school graduate.