What is it?

Particle life is a form of emergent complexity similar to Conway’s Game of Life. Instead of evolving on a grid with update rules based on neighbors, particle life uses asymmetric interactions between particles based on their color.

This version

This is my take on it written in Rust using macroquad and egui. You can view the HTML file, get the compiled WASM binary get the compiled WASM binary, and check out the repository.

Demo

This demo runs best on desktops and gives a feel for the simulation along with a few parameters to tweak.