Just... start it and watch the balls bounce. The left one is an iron-ball, the middle one is a basketball and the right one is made of light plastic. Remix it for different planets, the "-9.81" stands for g, the earth-acceleration. Have fun!
Changelog: 1.0: Added gravitation 1.1: Added balls 1.15: Added mass 1.2: Fixed elasticity of the basketball 1.3: Fixed the balls bouncing on the ground endlessly