Inside a parallelepipedic tridimensional domain there are 1815 particles.
1738 of them are light (ML=1) and small (RL=0.5) -the color of each particle depends on its initial coordinates {X0,Y0,Z0}-
with random initial velocities
and 77 are heavier (MH=4, MH=16 and MH=64) -white- with null initial velocities
and bigger (RH=1.0, RH=1.5 and RH=2.0)
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.