HomeBiologyNatural Selection: Allele Frequency Drift

Natural Selection: Allele Frequency Drift

Interactive 3D simulation of natural selection: a population with a variable camouflage trait faces predation pressure against a shifting environment, and allele frequency drifts over generations through differential survival, reproduction and mutation.

Biology3DModerate60 FPS
evolution-biology ↗ Open standalone

Natural selection needs three ingredients: heritable variation, differential survival, and differential reproduction. This simulation gives a population a single visible trait (coat tone), lets an environment set a camouflage target, and removes and replaces individuals each tick according to how well their trait fits that target. Adjust selection pressure, mutation rate and the environment itself — or trigger a sudden "industrial event" — to watch the population's mean trait and allele frequency shift generation by generation, exactly as Darwinian selection predicts.

⚙ Under the hood

Interactive 3D simulation of natural selection: a population with a variable camouflage trait faces predation pressure against a shifting environment target, and allele frequency drifts over generations through differential survival, reproduction and mutation.

Three.jsevolutionnatural selectionpopulation geneticsbiology

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

What did you find?

Add reproduction steps (optional)