Below you can decide on the horizontal speed and force of gravity, and then watch to see how it affects a bouncing ball. Good starting numbers are horizontal speed = 10, vertical speed = 10, gravity = 4.9, and elasticity = 0.8. Note that although you can specify an elasticity > 1, you may see some surprises when the ball bounces. Note also that the floor of the box has friction.