🐝 Pheromone Diffusion Field

The queen constantly releases queen mandibular pheromone (QMP) from a fixed point. It spreads through the hive as a real diffusion field, so bees far from the source sense a weaker signal and grow restless. Click the hive floor to release a burst of alarm pheromone at a threat.

How it works ▾
∂C/∂t = D∇²C − k·C

Each pheromone is a scalar field C(x,z,t) on a grid. Every step, each cell diffuses toward its neighbours' average (rate D) and decays exponentially (rate k), exactly like a discretised heat/gas-diffusion equation. The queen cell keeps injecting QMP; an alarm click injects a one-off burst that then spreads and fades on its own.

🐝 Amber bees are calm. Pale, jittery bees sit in a QMP "cold spot" — a real early sign of queenlessness. Bees inside a red alarm cloud swarm toward it to defend the colony.

calm restless alarmed

Hive chemistry

Avg. QMP level0%
Restless bees0
Since last alarm

Field parameters

🖱 Click / tap the hive floor to release alarm pheromone there