🧬 Particle Life
Simple attraction rules, emergent complexity — watch particles self-organize.
Interaction matrix:
| R | G | B | Y | |
|---|---|---|---|---|
| R | 0.0 | 0.0 | 0.0 | 0.0 |
| G | 0.0 | 0.0 | 0.0 | 0.0 |
| B | 0.0 | 0.0 | 0.0 | 0.0 |
| Y | 0.0 | 0.0 | 0.0 | 0.0 |
Green = attract, Red = repel
Hit Randomize to generate new rules. Each run produces unique emergent patterns.
How it works
Each particle species (color) has an attraction or repulsion value toward every other species, stored in the interaction matrix. Positive values mean attraction, negative means repulsion. A short-range repulsion prevents particles from overlapping.
Despite the simplicity of these rules, the system produces strikingly lifelike behavior: orbiting clusters, chains, symbiotic pairs, and predator-prey dynamics. Each random matrix creates a unique "universe" with its own emergent physics.