The effects of gravity on a ball. The "coefficient of restitution (COR)" determines how much bounce it has. The COR should never be greater than the value of 1. Once script started press 'space bar' to drop ball.
The speed acceleration and de-acceleration at the top of each bounce seems to be too slow. Even by adjusting the gravity value, the other properties of the bounce are adjusted okay, by the speed curve at the top of each bounce is off. I can't quite figure out the proper formula to use.