This is a simple bouncing ball example in Processing.