PPolySim OS
Use case · powered by Genetics Lab

Genetics Lab for a fish population

Simulate a fish population live in your browser. This runs the real Genetics Lab solver — adjust the inputs, watch it respond instantly, and export the result. No install, no account.

1

Hardy Weinberg

open full solver →
Hardy-Weinberg & SelectionLive

Controls

Presets

Without selection, allele frequencies stay put and genotypes settle at p², 2pq, q² — Hardy-Weinberg equilibrium. Give the genotypes different fitness and selection shifts the allele frequency each generation. Heterozygote advantage (high Aa fitness) can hold both alleles in a stable balance.

▶ Run in Python

Data Inspector

Final freq A0.500
Outcomepolymorphic
Mean fitness0.95

Governing equation

Reading this result: Allele A is favored at every genotype, so directional selection drives p toward 1 and eventually fixes A.

Runs locally in your browser — free forever. Scale to the cloud when reality gets heavy.

2

Genetic Drift

open full solver →
Genetic Drift (Wright-Fisher)Live

Controls

Presets

Even with no selection, allele frequencies wander purely by chance as each generation is randomly sampled from the last. In small populations this genetic drift is fast and alleles quickly fix or vanish; in large populations it is slow. Each colored line is an independent population starting from the same frequency.

▶ Run in Python

Data Inspector

Fixed (reached 1)0
Lost (reached 0)0
Population size50

Governing equation

Reading this result: Over many replicates the fraction that fix an allele converges on its starting frequency p₀=0.5 — drift is directionless, but the odds of fixation equal where you began.

Runs locally in your browser — free forever. Scale to the cloud when reality gets heavy.

or unlock everything with Pro →

About this simulation

The full Genetics Lab tool models a fish population with the same numerics engineers and scientists use — running entirely client-side. Change any parameter and the result updates in real time, so you can build intuition, check a design, or teach the concept without spreadsheets or installs.

More you can do with Genetics Lab

Other ways to simulate a fish population

Frequently asked questions

How do I simulate a fish population?
Open this page and use the live Genetics Lab tool below — set your inputs and the simulation runs instantly in your browser using real numerics. No install, no account needed.
Is it free?
Yes. The simulation runs free in your browser. A one-time unlock or a Pro plan adds advanced parameters, saved presets, data import, and clean exports.
Can I use my own numbers?
Absolutely — every input is adjustable, and with data import you can drive a fish population from your own measurements.