Evolve a car

Looking for a nice demonstration of genetic algorithms? Here's a simulation that takes randomized connected collections of polygons and wheels and scores them for their ability to traverse a rugged 2D landscape. I tried it last night, and it gave me an assortment of very bad vehicles: for example, a lot of them were just polygonal lumps that fell flat and sat there, while some had an odd wheel here and there, but also pointy bits that acted as brakes, or wheels that pointed upward at the sky and did nothing at all. So I just left it running and went to bed.

This morning, I've got strange vehicles running races on my computer screen. Unsurprising, but still kind of cool.

More like this

Prelude: Sunday, June 22, 2008 Only three weeks ago. All seems well. Prelude II: Thursday, July 3, 2008 We learn that all is not well. Saturday, July 12, 2008, 6:30 AM He spoke through tears of 15 years how his dog and him traveled about The dog up and died, he up and died And after 20 years he…
(I bet this will get me all sorts of incredibly useful search engine traffic...) Some time back, I asked for car-buying advice, and got a wealth of it in comments. Yesterday, Kate and I did a little car shopping, and visited a handful of local dealers to look at various cars. As with the last time…
I was wondering why it took Kevin so long to send in another report. Well, he was sick... Chinese "Ebola" This write up is going to be short and concise. Most of the days it consists of I wasn't in the mood for remembering details, so some of these days will fly by. 22 July Today was another town…
While I'm away communing with fellow skeptics at TAM7, I'm reposting some classic insolence from the month of July in years past. For today, there was really no other choice for what bit of Classic Insolence to repost, except that, today, there's no insolence whatsoever. The reason is that today is…