I built a generative particle life simulator with emergent sound – feedback welcome!


🌌 What is it?

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.

🔊 What makes it special?

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’s still a prototype
  • 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.

🔮 Possible future additions (if people enjoy it):
  • 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.

📣 Why I'm posting this

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

Leave a comment

Log in with itch.io to leave a comment.