Coalescent Genealogy: Gene Tree, Mutations and Site Frequency Spectrum (2D)
A random gene genealogy drawn back in time with its mutations, the waiting times between coalescent events and the site frequency spectrum. The same shared model as the 3D scene, with numerical checks.
Start with two gene loci in perfect linkage disequilibrium and let recombination break the haplotypes apart, generation after generation. Change map distance, allele frequencies and population size to see D shrink as (1-r) per generation while genetic drift keeps a random residue of r-squared. A Blender-built chromosome population coloured by allele, with numerical checks of the linkage formulas.
A random gene genealogy drawn back in time with its mutations, the waiting times between coalescent events and the site frequency spectrum. The same shared model as the 3D scene, with numerical checks.
2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install