I wanted to create a visualization of atom interaction in molecules in terms of their electron cloud distributions. Before adopting modern theories such as the Schrödinger equation, I did an experiment with traditional newtonian model, which is the very first depiction of atoms throughout human history.
I created two atom nucleus with different masses and 3000 elections that follows the newtonian planetary motion model, which is essentially described by equation
g = kMm/r^2.
After born in random positions of a unit sphere, the electrons were given random initial velocities, and thereafter are constantly affected by the two atom nucleus. It was very tricky to set up initial velocity magnitude and attraction coefficient in order to get more reasonable electron orbits, instead of highly elliptical ones.
In this video I altered the kinetic equation get another pattern of motion, as well as decreased particle count in order to render in real time.