Posted April 23, 2025 by Luis Mendoza
#creativecoding #particlelife #webdev #javascript #indiegames #prototype #emergentbehavior
It’s inspired by the ideas behind Particle Life, cellular automata, and artificial life.
Each particle belongs to a species and interacts with others based on a real-time tweakable behavior matrix.
🧠 The simulation evolves over time, sometimes creating harmony, sometimes pure chaos — but all driven by simple rules.
I added a generative ambient audio engine that reflects the current state of the system:
Frequencies are derived from species interactions.
Volume reflects energy per species.
Pitch and timbre shift dynamically as the simulation changes.
There’s even an oscilloscope visualizer showing the waveform in real-time.
What you hear is not music — it’s the simulation expressing itself.
💡 Use headphones for the best experience!
It currently runs fully on CPU (canvas 2D), and I’m working on WebGL optimization.
Behavior matrix presets, evolution modes, and visual zoom are already in.
You can pause/resume, regenerate, or edit the matrix freely.
GPU/WebGL support for 20k+ particles
Spectrogram-style visualizers per species
“Lifeform” editor for creating new species
MIDI or OSC output for audio-driven visual software
Gameplay layer where you influence the system as a special agent particle
More dynamic effects: echo, reverb, reactivity to mic input, etc.
This is an open experiment. I’m super curious to hear:
How it makes you feel
What you’d tweak or add
Any weird or beautiful patterns you notice
Thanks for taking a look 🙌
Luis Mendoza