Home▸Animals & Their World▸Mouse Colony (2D)

Mouse Colony (2D)

A top-down field colony of mice: boid-flocked mice forage around clustered burrows, retreat underground on a timer that's biased by a day/night cycle (mice are nocturnal), and a click on the field acts as a predator scare that sends nearby foragers bolting for cover.

Animals & Their World2DModerate60 FPS📱 Mobile-adapted⇄ 3D version
2d-mice-burrows ↗ Open standalone

This 2D companion drives the same boid-flocked, burrow-bound mice as the 3D scene, seen from above on a plain canvas: each mouse forages, retreats on a timer biased by the day/night cycle, hides, then re-emerges, and a click on the field triggers an instant predator-scare flee independent of that timer.

⚙ Under the hood

Top-down Canvas2D field colony: boid separation/alignment/cohesion drives foraging, a day/night cycle biases the forage-to-flee timer toward nocturnal activity, and clicking the field scares nearby mice into the nearest burrow.

miceburrowsboid flockingday-night cycle

2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)