HomeGenetics & EvolutionPopulation Genetics and Gene Flow Simulator

Population Genetics and Gene Flow Simulator

Interactive population genetics simulator: two island populations exchange migrants each generation while genetic drift, selection and gene flow drive their allele frequencies together or apart in real time.

Genetics & Evolution3DModerate60 FPS
biology-ext-topic-71 ↗ Open standalone

Population genetics studies how allele frequencies drift, respond to selection, and equalize across space through migration. This simulator visualizes two island populations, each a cluster of individuals carrying one of two alleles at a single locus. Every generation, each island samples its next generation from a Wright-Fisher process shaped by selection favoring one allele, migration exchanging genes with the other island, and the randomness of finite-population sampling — genetic drift. Watch the two islands' allele frequencies converge under strong gene flow, or drift apart into fixation for different alleles when migration is weak and populations are small, exactly as observed in real founder populations and island endemics.

⚙ Under the hood

Watch two island populations exchange migrants each generation while genetic drift, natural selection and gene flow pull their allele frequencies together or apart in a live Wright-Fisher model.

Three.jsgeneticsevolutionpopulation biologygene flowgenetic drift

3D · Three.js / WebGL renderer · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)