For K-12 Students · Genetic Algorithm
Genetic Algorithm for a pandemic wave
Built for k-12 students learning it in middle or high school. Watch the idea come alive with plain-language steps and everyday examples — perfect for projects and homework. Simulate a pandemic wave live below — adjust the inputs and watch it respond, right in your browser.
Genetic AlgorithmLive
evolution as optimization
Controls
Presets
A population of candidate solutions is scored by fitness (bright = high). The fittest are selected, crossed over, and mutated each generation. Watch the swarm climb toward the global peak while dodging local optima.
Data Inspector
Generation0
Best fitness0.000
Population80
Governing equation
Reading this result: Balanced mutation (0.08) with population 80: enough diversity to escape local optima while still converging — the classic explore-vs-exploit sweet spot.
Runs locally in your browser — free forever. Scale to the cloud when reality gets heavy.
More with Genetic Algorithm
Frequently asked questions
- Is this good for k-12 students?
- Yes — this version of "Genetic Algorithm for a pandemic wave" is framed for k-12 students learning it in middle or high school. Watch the idea come alive with plain-language steps and everyday examples — perfect for projects and homework.
- Do I need to install anything?
- No. It runs in any modern browser, free, with no account required.