Home▸Biology & Life▸Genetic Algorithm — Fitness Evolution (2D)

🧬 Genetic Algorithm — Fitness Evolution (2D)

Watch a real genetic algorithm evolve a population of real-valued genomes toward a target: tournament or roulette-wheel selection, crossover and mutation, with a live fitness-vs-generation curve and population fitness histogram.

Biology & Life2DModerate60 FPS📱 Mobile-adapted⇄ 3D version
2d-genetic-evolution ↗ Open standalone
⚙ Under the hood

A 2D companion to the Genetic Evolution 3D sim: a real population of real-valued genomes evolves toward a hidden target through tournament or roulette-wheel selection, uniform crossover and Gaussian mutation. Watch the live fitness-vs-generation curve and the population's fitness histogram converge as the algorithm optimizes.

genetic algorithmevolutionoptimizationselectionmutationcrossover

2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)