Home▸Entomology & Insect Behaviour▸Pheromone Diffusion in a Honey Bee Hive (2D)

Pheromone Diffusion in a Honey Bee Hive (2D)

Top-down 2D hive lab: queen, brood, alarm and Nasonov pheromones spread through a real diffusion-advection-decay field, steering hundreds of worker bees toward or away from the source.

Entomology & Insect Behaviour2DModerate60 FPS📱 Mobile-adapted⇄ 3D version
2d-pheromone-communication-honey-bee-colonies-lab ↗ Open standalone

This 2D companion trades the 3D hive's animated particle plume for a real numerical field: each of the four bee pheromones — queen mandibular, brood, alarm and Nasonov — is the solution of a 2D diffusion-advection-decay equation (∂C/∂t = D∇²C − kC + S) solved with an explicit finite-difference scheme every frame, with a directional drift term added only for Nasonov to model fanning bees pushing scent out through the entrance. Worker bees don't follow a script — each one samples the local concentration gradient of that field and steers up it toward the source for queen, brood and Nasonov signals, or down it, away from danger, for the alarm pheromone, while a live readout tracks the field's peak and mean concentration, how many bees are currently responding, and how many foragers have been recruited home.

⚙ Under the hood

2D pheromone-diffusion lab solving a real diffusion-advection-decay PDE on a grid, with worker bees that steer along the sampled concentration gradient rather than scripted paths.

bee pheromonesdiffusion equationqueen pheromonealarm pheromonenasonovchemical ecology

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

What did you find?

Add reproduction steps (optional)