← 🐝 Entomology & Insect Behaviour

🧬 Population Genetics Lab

Colony legend (colour allele)
AA — bright amber
Aa — banded hybrid
aa — dark "cordovan"
Live statistics
Generation: 0
Allele freq p(A): 50.0%
Expected Hetero. (2pq):
Observed Hetero.:
FPS:
⚠ Allele fixed — genetic diversity lost at this locus
Drag — rotate · Scroll — zoom

🧬 Honey Bee Population Genetics

A 3D colony of instanced bees, each carrying two alleles at a single colour locus, whose allele frequency drifts, migrates and inbreeds generation after generation right in front of you.

🔬 What It Demonstrates

Every generation resamples the population's alleles the way real finite colonies reproduce, showing genetic drift, migration-driven gene flow and inbreeding-driven deviation from Hardy-Weinberg proportions as separate, tunable forces.

🎮 How to Use

Set colony size, starting allele frequency, migration rate and inbreeding coefficient, then press Run. Watch the bees' colours shift and the allele-frequency trend line drift, spike or stabilise above the hive.

💡 Did You Know?

Small, isolated apiary populations can fix or lose an allele purely by chance within a few dozen generations — the same drift dynamic conservation programmes must fight to keep rare honey bee subspecies genetically distinct.