SIMULATION CANVASRUNNING
Adjust the controls to explore the model.
Model how predation and inherited colour variation shift a population toward better camouflage.
Live model · Adjustable parameters · Real-time feedbackMoths whose colour contrasts strongly with the background are more likely to be eaten. Survivors reproduce with small mutations, so the population’s colour distribution can shift over generations. This is a simplified model of natural selection.
Change one parameter at a time, observe the response, then reset and compare. The model runs locally in your browser and does not require an account or external libraries.