For this project I make a simply physic engine to simulate the atoms movement in 3d with reflection and shadows.
The center ball will arrtact all other balls follow the physics rule. All the balls will bounce each others.
In addition, you use your mouse to control the light direction by simply moving your cursor on the canvas.