PPolySim OS
For K-12 Students · Genetic Algorithm

Genetic Algorithm for a forest fire

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 forest fire live below — adjust the inputs and watch it respond, right in your browser.

Genetic AlgorithmLive

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.

▶ Run in Python

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.

or unlock everything with Pro →

More with Genetic Algorithm

Frequently asked questions

Is this good for k-12 students?
Yes — this version of "Genetic Algorithm for a forest fire" 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.