▶

Ant and Slime Simulations with Compute Shaders

Sebastian Lague · Demo · YouTube title: Coding Adventure: Ant and Slime Simulations
Why it's here

HN recommends it as a beautiful example of what simple rules and compute shaders can produce, and many commenters were inspired by it.

What it covers

Sebastian Lague explores an ant-inspired algorithm and simulates ant and slime mold behavior, using compute shaders. Source code for both simulations is available.