Space to reset the ball, click to apply force in the direction of the mouse. Hover your mouse to the right in order to adjust friction, bounciness, and gravity.
Everything programmed by me, based off of past experiments.