HomeAlgorithms & AIGenetic Algorithm: Fitness Landscape Explorer

Genetic Algorithm: Fitness Landscape Explorer

Watch a genetic algorithm population climb a real multi-peaked 3D fitness landscape. Tune mutation rate, mutation strength and selection pressure and see whether the population finds the global optimum or gets trapped on a local peak.

Algorithms & AI3DModerate60 FPS📱 Mobile-adapted⇄ 2D version
genetic-algorithm-fitness-landscape-evolution ↗ Open standalone

A genetic algorithm searches for good solutions the same way a population of organisms searches a real terrain: many individuals, each scored by a fitness function, compete and recombine generation after generation until the population converges on high ground. This simulator renders that search literally — a real 3D fitness landscape built from overlapping Gaussian peaks, with a population of genotypes rendered as instanced markers that climb it under selection, blend crossover and Gaussian mutation. Switch between a rugged six-peak landscape (where premature convergence to a local optimum is likely) and a smoother two-peak one, tune mutation rate, mutation strength and tournament size, and watch live readouts for generation count, best and mean fitness, and population diversity to see the exploration/exploitation trade-off play out in real time.

⚙ Under the hood

Watch a genetic algorithm population climb a real multi-peaked 3D fitness landscape, using tournament selection, blend crossover and Gaussian mutation, and see whether it finds the global optimum or gets stuck on a local peak.

genetic algorithmevolutionary computationfitness landscapeoptimizationselection pressuremutation

3D · Three.js / WebGL renderer · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)