Scenario

Description

N particles uniformly distributed on the canvas with uniformly distributed initial x and y speeds between -0.010 and 0.010

Parameters

Adapted by Gary Sauvage from the Event-Driven Simulation course from Robert Sedgewick and Kevin Wayne. This course is part of a great Princeton series of lectures on algorithms.