Simulation lab

Darwin's Finch Beak Selection Lab

On the Galapagos island of Daphne Major, Peter and Rosemary Grant documented evolution in real time: during droughts, only tough Tribulus seeds remained, and finches with larger, stronger beaks survived to breed. Here allele A represents a large-beak variant. Give it high fitness during drought years, reverse the fitnesses in wet years when small seeds favor small beaks, and watch fluctuating selection push the allele back and forth.

Natural Selection Simulator

Watch allele frequencies change under selection, generation by generation.

Fitness = relative reproductive success (1.0 = baseline). Try w_aa = 0 to model a lethal recessive allele.

-0.060.160.390.610.841.10.0012.024.036.048.060.0GenerationAllele frequency
p (allele A)q (allele a) (dashed)
Final p: 0.9987Final q: 0.0013No fixation within 60 generations
Generation-by-generation table
Genpqw̄ (mean fitness)
00.10000.9000—
60.43810.56190.7954
120.73800.26200.9226
180.87590.12410.9681
240.93830.06170.9852
300.96830.03170.9927
360.98350.01650.9963
420.99130.00870.9980
480.99540.00460.9990
540.99760.00240.9995
600.99870.00130.9997
The model (simplified educational model)

Each generation: p′ = (p²·wAA + pq·wAa) / w̄, where w̄ = p²·wAA + 2pq·wAa + q²·waais mean fitness. This is a deterministic model — it ignores genetic drift, mutation and migration, so real small populations will bounce around these curves.

How to use it

  1. Set p0 = 0.3 and model drought with wAA = 1.0, wAa = 0.95, waa = 0.5 over 100 generations.

  2. Watch the p curve rise and record the generation at which the readout reports fixation of the large-beak allele.

  3. Model wet years by reversing fitnesses: wAA = 0.6, wAa = 0.7, waa = 1.0; watch p fall as small beaks are favored.

  4. Repeat the drought with p0 = 0.7 to see how standing variation changes the speed of response.

  5. Open the generation table and track mean fitness (w-bar): it climbs whenever the population matches the current environment.

About this model

Beak size is a polygenic, quantitative trait in reality; compressing it into a single diallelic locus is a teaching simplification. The panel collapses heritability and the selection differential into fitness values, and it ignores gene flow between islands, genetic drift, and the fact that real droughts vary in intensity. Fitness values are illustrative rather than measured from the Grants' data.

What you will learn

  • Explain directional selection on beak size during drought as differential survival.
  • Describe fluctuating selection as fitnesses reversing between wet and dry years.
  • Explain why higher starting variation (p0) speeds the evolutionary response.
  • Cite the Grants' finch work as evidence of natural selection observable within decades.