What this is

5,000–10,000 ants on a 2D field, rendered via WebGL2 instancing in a single draw call. Each ant has a position, heading, and a state (searching or returning). Searching ants smell food pheromone in three forward sectors and steer toward the strongest. Returning ants smell home pheromone. Both lay their own pheromone behind. Pheromones diffuse and evaporate each frame. Click to drop food. Shift-click to drop a nest. Drag to draw a wall. Within 30 seconds, the dominant trails are visible.

Why this is mind-blowing

There is no pathfinding code. No A*, no Dijkstra. Each ant looks at three pixels in front of it and turns toward the brighter one. From that single rule, repeated 10,000 times per frame, you get optimal paths between nest and food. Block a path with the poison tool — they re-route in seconds. This is what "emergent intelligence" looks like.