Moleclusters

This is a quasi-chemical particle bonding simulation. It is not like real chemistry at all, but the structures are kind of molecule-like and have interesting dynamics.

Each particle looks at a pre-determined amount of its closest neighbors and bonds with them. There are also other forces implemented, such as Newtonian gravity and collision.

When you run this simulation, you will sooner or later notice some common structures that almost always emerge, such as gliders and oscillators. Kind of like in Conway's Game of Life.

I use Raylib for graphics and ImGui for the user interface.

Check the repository out here: https://codeberg.org/greenfieldsoftware/Moleclusters

Web version: https://greenfieldsoftware.codeberg.page/Moleclusters/