Genetic Drift Simulator

Wright-Fisher drift in a diploid population. Allele A changes frequency by random sampling alone, or with selection added.

Vibe-coded with ❤️ by Stephen Turner.

Allele frequency through time

first path replicates fixed A lost A
Generation 0
Mean frequency 0.500
Fixed A 0 / 10
Lost A 0 / 10
Mean stop time -

Model: neutral Wright-Fisher drift, starting at p = 0.500 in N = 100 diploid individuals.