Press the green flag to watch the ball bounce. The green bar shows the ball's estimated potential energy and the blue bar shows its estimated kinetic energy. Use the "freeze frame" button to watch each step.
In a perfect world, the ball would bounce forever. In the real world, though, it slowly runs out of energy. Where does the energy go?