Use your mouse to drag the circles around. You can change the friction by using the friction bar. The friction bar will hide when there is a circle behind it. 0 is no friction so the balls never slow down. 0.05 is default friction. 0.10 makes the balls lose 10% of their speed every time they move.
This is just a simple simulation.