Caerfai simulates chemical reactions with bouncing atoms that form and break molecular bonds. [more]
Atoms have valency (bonding capacity): Hydrogen forms 1 bond, Oxygen 2, Nitrogen 3, Carbon 4. Bonds can be single, double (C=O), or triple (N≡N), each with different energies.
The simulation uses real bond energies - stable molecules like N₂, O₂, H₂O, and CO₂ naturally form because their bonds are energetically favorable. Unstable bonds (like O-O peroxides) break easily.
Temperature affects reaction rates: low temp = stable molecules persist, high temp = chaos! Use lightning to inject energy and break apart stable molecules.
Controls: Drag to pan • Scroll to zoom • Click molecule to inspect • Space to pause • L for lightning • R to reset view • F for fullscreen