/Replusive-Balls

Some balls that repels each other are placed on a sphere. Try to figure out their shapes.

Primary LanguageRust

Replusive Balls

Usage

./sim.sh 4

where 4 is the number of balls on the sphere surface.

Start closing Python windows(Command+W) to get a cartoon.

readme.assets

Why

At first I wondered what shape will a 3-ball system form on the surface.

However, it seems that the shape of 5, 6, 7-ball system is particularly like the atom distribution of molecules. This is not surprise because the limited surface is just like the length of the chemistry bond. Because of the electronic waves trys to get avoid of each other, the bonds(electron pairs) distribution is serperated with each other, exactly like the setup of this system.

links

https://www.bilibili.com/video/BV1Ae411u7uQ/