simple physics model AR = Air Resistance (unless x=0) X = Horizontal Velocity Y = Vertical Velocity G = Gravitational field strength (de/acceleration due to gravity) R = reset Air resistance opposes horizontal motion of the ball. Gravitational field strength changes downwards pull.
Basic model. Please note that realistic values for forces were not used. bounces decrease speed by 10 percent. Please enjoy and feel free to use in other projects or remix Favgames