Selection Types Comparison
Open Selection Types Comparison Fullscreen
About This MicroSim
Chapter 10: GWAS and Population Genetics
Library: p5.js
Type: Interactive simulation
sim-id: selection-types
Library: p5.js
Status: Specified
An interactive simulation showing three bell curves representing a phenotype distribution. Users select one of three modes — directional, stabilizing, or disruptive — using radio buttons. After pressing "Run Selection," the simulation animates the distribution changing over 10 generations. Directional shifts the mean, stabilizing narrows the curve, and disruptive creates a bimodal distribution. A slider controls selection strength (s = 0.01 to 0.5). The x-axis shows phenotype value and the y-axis shows frequency.