Inside a rectangular bidimensional domain there are 300 particles.
285 of them are light (ML=1) and small (RL=0.5)
with random initial velocities -the color of each particle depends on its initial coordinates {X0,Y0}-
and 15 are heavier (MH=4, MH=16 and MH=64)
and bigger (RH=1.0, RH=1.5 and RH=2.0)
with null initial velocities -white-.
Over time, the particles collide and the impacts are perfectly elastic, meaning that momentum is conserved.
The trajectory of each particle is a brownian motion when its velocity is a decreasing function of its mass.
These simulations have a duration of 512 time steps.