Working BouncingBall example.