Genetic Algorithm Car Race Thingy

From the oldie-but-goodie department, this fun program uses a genetic algorithm to drive car thingies across a bumpy terrain. Change parameters. Watch the cars go. See how far the winner travels before crashing.
The code is available on GitHub.
In case you’re unfamiliar, a genetic algorithm creates mutations in a population of objects or systems. Those that perform better move on to the next generation. The algorithm keeps going until you get an optimized point. In this case, the algorithm tries to optimize travel distance.
See also evolving floor plans and an optimized brewery road trip. [via kottke]
Tags: algorithm, optimization
Popular Products
-
Foldable Car Trunk Multi-Compartment ...
$276.99$192.78 -
Reusable Zip Lock Stand-Up Pouches wi...
$84.99$58.78 -
Reusable Castor Oil Compress Pad Wrap...
$45.99$31.78 -
Aluminum Foil Mylar Heat Seal Bags fo...
$45.99$31.78 -
Flat Aluminum Foil Mylar Ziplock Bags...
$81.99$56.78