Natural selection sim
Drag the soot slider to darken or clean the bark, let the birds hunt one generation at a time, record the dark-allele frequency and watch the population change over many generations, in 200 moths or 20.
Natural selection in peppered moths: variation from a random mutation, predation by birds, camouflage on clean and sooty bark, survival and reproduction of the better-adapted form, inheritance of its allele, the change in allele frequency over many generations, and chance drift in small populations · covers the O-Level, IGCSE, GCSE topic
What the sim shows
Natural selection in peppered moths. The moths vary: a dark form (carbonaria, allele C, dominant) and a light form (typica, allele c, recessive). The dark allele first arose by a random mutation; the bark does not cause it. Birds eat the moths they see, so on bark that hides one form better, the better-camouflaged moths survive and reproduce more, and pass on their alleles. Over many generations those alleles become more common: no moth changes, the population does. In small populations chance (drift) also moves the allele frequency a lot. In industrial Britain in the 1800s, soot from coal darkened the bark of trees near cities, and the dark form became common there (in Manchester it went from rare, first recorded in 1848, to most of the moths by the end of the century). After the clean-air laws of the 1950s the bark grew paler again, and the light form became common again. Simplified on purpose: illustrative numbers: a teaching model of peppered moths, not real data; real values differ; one gene with two alleles, C (dark, carbonaria) and c (light, typica); real peppered moths also have in-between forms (insularia); complete dominance: a Cc moth is as dark as a CC moth; only bird predation acts: a moth's chance of being eaten depends only on how much it stands out from the bark (15 % when perfectly hidden, 45 % when it stands out fully); the selection here is strong, so the change takes tens of generations; in the wild it was weaker, and the moths have one generation a year; a seeded model: a fixed list of random numbers, so the same steps always give the same moths; a new run starts with a dark-allele frequency of 0.05 (every dark allele in a Cc moth) or 0.50 (CC, Cc and cc moths in the ratio 1 : 2 : 1); population capped: the tree has food and space for a fixed number of moths (200 or 20), and the survivors' offspring refill it each generation; generations do not overlap; the survivors breed at random, and every offspring gets one allele from each of two parents; mutation: each allele copied changes with a chance of 1 in 10 000 (illustrative), the same at every soot level; each tree trunk is one shade; real bark is patchy, and real moths rest in many places; the lichen on the bench trunk fades out by 60 % soot (lichens die in polluted air); it is drawn, not part of the model; 1 drawn moth = 1 moth in the close-up: the drawn moths are the model's population; the 8 models pinned on the bench trunk show the share of dark moths, rounded; the chance-drift spread is about two standard deviations (a normal approximation), so a change outside it happens by chance alone about 1 time in 20 or less; below 3 generations on one bark it is too short to judge.
- Slider block: sets the soot on the bark (also in the close-up)
- Close-up: the last hunt and the moths now, one drawn moth per moth
- Ring: a moth found and eaten by a bird in the last hunt
Use it in your lessons
- Try it here: anyone can unlock 2 figures free, and a free account unlocks up to 5. Runs on a laptop, a Chromebook or a phone; nothing to install.
- Present it and share student links with the teacher plan, from US$5 a month, billed yearly.
- Put it on your own website or LMS for US$9, paid once, or every sim from US$29 a month.
Free guide: 12 practicals as sims, and how to run one in a lesson →
Need a version for your exact set-up? Have one made: US$49 a figure in an order of 5.
More biology sims
- ADH and water balance simGive a teaching torso a glass of water, a salty snack or an hour of hard exercise in the heat, wait 15 minutes at a time, and watch the hypothalamus, ADH, the collecting duct and the urine bring the plasma back towards normal, with your own readings plotted on a graph.
- Antibiotic resistance simGive a bacterial infection a course of antibiotic one day at a time, choose a full or low dose and when to stop, try a course for a cold, and compare how fast the resistant fraction rises on the graph and in a close-up of every bacterium.
- Cell explorer: plant, animal, bacterium simTurn a 3D plant, animal or bacterial cell under the microscope, switch between light and electron microscope views, and fill a table of which structures each cell has and which only an electron microscope can show.
- Cells in solutions under the microscope simDrag a slide of red onion cells or red blood cells onto the microscope stage, irrigate it from one of seven solution bottles, and watch the cells become turgid, flaccid or plasmolysed, or burst, stay normal or crenate, then record and explain each result and plot your own graph.
- Decay rate: temperature and lipase (RP10) simSet the water bath's dial, warm milk with sodium carbonate and phenolphthalein beside a tube of lipase, pour the lipase in and time the pink fading to colourless, then work out 1000 / time, repeat three times at each temperature, leave out the anomaly, and plot the mean rate to find the optimum and the fall above it.
- Dichotomous key builder simDrag a specimen pot under the hand lens and step through a dichotomous key one yes/no couplet at a time, build your own key by dragging feature questions and animals onto a key tree, then test it on two new animals.