Skip to content
This repository was archived by the owner on Sep 28, 2026. It is now read-only.
red42Public archive

About

A genetic algorithm car evolver in HTML5 canvas.

Resources

Stars

1.2k stars

Watchers

82 watching

Forks

Latest commit

 

History

90 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HTML5 Genetic Cars

A genetic algorithm car evolver in HTML5 canvas.

Inspired by BoxCar2D, uses the same physics engine (Box2D), written from scratch.

Originally published on http://rednuht.org/genetic_cars_2/

See also Genetic Brick Cars, which evolves cars from real LEGO® parts in 3D.

Running

Just open index.html in a browser. No build step, no npm, no bundler.

For the graph-only (headless) view, open graphs.html.

Tip: Some browsers block local file access. If needed, serve locally:

python3 -m http.server 8000

Then visit http://localhost:8000

About

A genetic algorithm car evolver in HTML5 canvas.

Resources

Stars

1.2k stars

Watchers

82 watching

Forks

Releases

Packages

Used by

Contributors

Languages