The encoding of kinetic energy in the colour of the particle trails is innovative.<p>Did you encounter the effect I call "lost" momentum that occurs around very close approaches when the time quantum is constant? It manifests by particles seeming to gain kinetic energy over time until they fly away. One way of minimising it is to switch to a more precise and accurate force calculation whenever the distance between two particles becomes less than $\epsilon$.