← Project history & credits

Browser adaptation · 2026

Evolving cars

Twenty-four cars. One stretch of hills. Which traits survive the next generation?

Your browser needs canvas support to draw the visualization.

Loading interactive controls…

How to explore

Start the population, or step through it. Distance is fitness. Two elites survive; tournament selection, crossover, and mutation create the rest. Change the mutation rate and reset with the same seed to compare.

About this version

Uses a simplified one-dimensional hill model with wheel size, body mass, grip, and power. It does not reproduce Box2D suspension, collisions, or real vehicle physics.

Original Processing prototype: Andrés Brenes Maleaño, Axel Fernández Jiménez, and Iván Moisés López Saborio. Its fitness and selection methods were unfinished. This new browser experiment implements the evolutionary cycle.

Read about the original project · All demos