Home▸Algorithms & AI▸Differential Evolution: Population Search with Mutation, Crossover and Selection on Test Landscapes (2D)

Differential Evolution: Population Search with Mutation, Crossover and Selection on Test Landscapes (2D)

A top-down heat map of the same differential evolution run: agents as pins, the best agent as a gold crystal and the known optima as flags, with the best and mean value per generation. Same shared algorithm as the 3D scene.

Algorithms & AI2DModerate60 FPS📱 Mobile-adapted🟠 Blender⇄ 3D version
Differential Evolution: Population Search with Mutation, Crossover and Selection on Test Landscapes (2D) ↗ Open standalone

Watch a population of agents search a rugged landscape with differential evolution: each agent builds a trial point from the difference of two others, mixes it by crossover and keeps it only if it is no worse. Change the test landscape, the mutation strategy, the population size, the differential weight and the crossover rate to see fast convergence, premature collapse into a local minimum and the effect of too much or too little step size. A Blender plinth, pins and crystal, with checks against Zaharie's variance law and known minima.

⚙ Under the hood

A top-down heat map of the same differential evolution run: agents as pins, the best agent as a gold crystal and the known optima as flags, with the best and mean value per generation. Same shared algorithm as the 3D scene.

Differential EvolutionEvolutionary AlgorithmGlobal OptimizationRastrigin FunctionPopulation Search

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

What did you find?

Add reproduction steps (optional)