Boxcar2d

Author
Discussion

pauldm28

Original Poster:

67 posts

223 months

Friday 4th February 2011
quotequote all
Hope this isn't a repost.(couldn't find it on searching)
Theres seems to be plenty PHers on here with views about car design;
they'll like this > http://boxcar2d.com/
The program learns to build a car using a genetic algorithm. It starts with a population of 20 randomly generated shapes with wheels and runs each one to see how far it goes. The cars that go the furthest reproduce to produce offspring for the next generation. The offspring combine the traits of the parents to hopefully produce better cars. Now with the button at the bottom left u can choose to input cars and different terrains. This lets people post their results and even design a car by hand.
I thought the site was garbage at the start but give it a few minutes to create your masterpiece.
After a while my run of the program came up with this below, I just have to expand it to 3D then start production!




Edited by pauldm28 on Friday 4th February 21:58


Edited by pauldm28 on Friday 4th February 21:58