nowfound

Life & fun · August 13, 2015

Genetic Algorithm Cars

Breed cars and make them evolve with natural selection.

Genetic Algorithm Cars launched on August 13, 2015 with 77 votes, #670 of 3,588 launches that month and more than 50% of that year's launches. The site was still online in September 2026, 11 years on.

What it does

The program uses a simple genetic algorithm to evolve random two-wheeled shapes into cars over generations. Loosely based on BoxCar2D , but written from scratch, only using the same physics engine ( box2d ). seedrandom.js written by David Bau . (thanks!) This is not as deterministic as it should be, so your best car may not perform as well as it once did. The terrain gets more complex with distance. I'm not in the mood to deal with checking if all scripts have loaded before running, so refresh the page if things seem whack. The code is now on a GitHub repository . Feel free to contribute! Originally written by this guy , now with contributions from patient people atfrom rednuht.org

Does a similar job

all alternatives →

More life & fun this month

the category →

Source: Product Hunt launch ↗

Launched alongside, August 2015

the whole month →
  • Chat with some of the world’s most interesting makers

    Life & fun · 2015

  • Better shower, 70% less water

    Life & fun · 2015 · brondell.com

  • MS

    Life & fun · 2015 · blog.filippo.io

  • M▲714

    A personal assistant built inside Facebook Messenger

    Work · 2015 · facebook.com

  • A curated directory of content marketing resources

    Growth · 2015 · contentmarketingstack.co

  • A curated collection of growth hacking tools

    Growth · 2015