Coding Adventure: Ant and Slime Simulations
Overview
Sebastian Lague explores an ant-inspired algorithm and simulates ant and slime mold behavior, using compute shaders. Source code for both simulations is available.
On Hacker News
HN recommends it as a beautiful example of what simple rules and compute shaders can produce, and many commenters were inspired by it.
Topics
Sources
Video by Sebastian Lague, played through YouTube.
Data and selection notes
HN summaries and labels may contain AI errors. HN dates refer to discussions, not video publication.
HN Library: HackerTube export (2026-10-31) and open-index/hacker-news. Upstream summaries and classifications may contain AI errors.
Views, duration and playback status refresh separately from the published catalog. When an update fails, existing data remains visible.
Selection checks
- SaaS & AI candidates: Topic keywords do not match
- Editor-approved picks: Editorial review is required
What people said