I suppose I could stretch a point and post this in the "Science" section, but it seems more just entertainment to me. A brief description: "Watch genetically-evolving cars race in 2D" | BoingBoing (http://boingboing.net/2015/11/20/watch-genetically-evolving-car.html)
. . . And a direct link to the page: Genetic Cars 2 (http://rednuht.org/genetic_cars_2/)
:popcorn:
I suppose I can't expect to get a Lamborghini-like vehicle in this simulation. :P
My evolving car creatures are stuck. :( For many generations they haven't been able to get past some sloping terrain.
It's possible to vary the mutation rate as well as some of the other parameters. Using the default settings, I let the program run until one little monster evolved that was able to complete the course. It took only 50 generations, but your mileage may vary.
I let mine run using the default settings for 63 generations but none of the little creatures was able to compete it by then. The second time I set the mutation rate at 100% but only let it run for about 40 generations before I got frustrated and terminated the whole race. :violin:
I'm letting it run for the third time. :smilenod:
So...I let the third attempt run for 78 generations, they couldn't get past the slope either. There doesn't seem to be an option to tweak the amount of luck involved. :P
I changed the gravity to 1.6 (Moon). They bounce and glide a lot but they get further.
I also get this urge to listen to Carmina Burana as I watch them go.
Wow, I guess that I was really lucky to see a successful variant in only 50 generations with the default settings. It was a compact one with relatively small wheels that managed to bounce down the terrible terrain at the end of the course.
One of the things I enjoyed was in about the last third of the iterations, there would be a pretty sizable herd of them trundling along through the easier terrain at the beginning.
Mine are getting about three quarters through, and end up looking like kites with wheels. :???:
I like the beginning. When they come into existence there's so much hope and potential. It doesn't last though. :sad sigh:
Cool - thanks Rec!
Yeah, I'm enjoying watching these go. I'm 70 generations in (letting it run while I'm at work) with default settings. They were stuck on a slope for 20 or so generations but now have advanced to the next unlikely looking mountain. They mostly have largish wheels with a long wheelbase and can run either way up. I'm guessing the terrain is random at the outset?
Quote from: Siz on November 23, 2015, 11:44:55 AMI'm guessing the terrain is random at the outset?
The terrain details are random for each session in the default settings, but as it says on the page, "The terrain gets more complex with distance."
My intrepid vehicles were over 120 generations in before some fucker in my office decided to restart my PC while I was out. They were so close to breaking the last mountain too. I wanted to see if/how long it would take. Or, I guess that would necessarily be a 'when'...! When I left them they had shortened their wheelbase and mostly bounced along in somersaults. Is that how they ended up for you?
Quote from: Siz on November 23, 2015, 04:27:42 PM
My intrepid vehicles were over 120 generations in before some fucker in my office decided to restart my PC while I was out. They were so close to breaking the last mountain too. I wanted to see if/how long it would take. Or, I guess that would necessarily be a 'when'...! When I left them they had shortened their wheelbase and mostly bounced along in somersaults. Is that how they ended up for you?
Yes, the successful model had a small (more or less trapezoidal) medium density body, small, dense wheels, and a very short wheelbase. Its traverse of the bad terrain toward the end of the course was accomplished almost entirely by bouncing.
Ok, trial number 6. This time I'm sticking to default settings.
Quote from: Siz on November 23, 2015, 11:44:55 AM
I'm guessing the terrain is random at the outset?
Yes. Each time I tried it was a different terrain. You can also create a world with a seed number. I put '666' this time. :devil2:
I have yet to get one to complete the course but I have managed to get an almost identical field of 19 cars that could all get to the same point. That was by doing a rate and size of 2%
Edit: Did it again but with 5%, by gen 30 I had two distinct groups that all got to the same point every now and again you would get one that went a bit further but would fail on a similar section further on. At the higher variables there is too much mutation and not enough passed on to make the heard successful, with the low vales it creates an equilibrium across the cars but there isn't enough variety to get past a problem. I bumped it to 10% on both values you got more variation but not enough passed on to the next generation. I think the answer lies under 10% with an imbalance between the size and rate I'm thinking a lower rate of mutation with a higher size of mutation, thus you get more time for the successful genomes to get passed on but when mutation happens it is enough to make a noticeable difference but not too much you lose the benefits of the original.
Okay, so I decided to try the 666 world seed (default settings). 221 generations in they haven't even gotten past the first slope, about midway. ::)
I'll wait until it reaches around 500 generations. Then I'll probably try world 777, maybe it's more forgiving.
So, I recorded a snippet just to show that I'm not lying, my little cars really are all failures (dramatic soundtrack included). :P
Generation 236 and they still can't get past a small slope. :(
:lol: That's a fun video, xSilverPhinx. Well done, and thanks for posting it!
Glad you liked it. :grin:
Ok, so I ended the previous race because it was an evolutionary dead end but since I'm not willing to give up I started yet another one. After 677 generations it seems the little cars are stating to make some progress (they have gotten two thirds through). Their wheelbase has grown shorter and they've evolved a bigger front wheel. I'm hoping that by generation 1000 they will have completed the course.
(https://www.happyatheistforum.com/forum/proxy.php?request=http%3A%2F%2Fi834.photobucket.com%2Falbums%2Fzz262%2Ffernie_lotz%2Fgenetic%2520cars%2520generation%25203091_zps6ettjmmw.png&hash=3abcfdcf4cdf32103eb12a944cce07e414b9966e)
:fingertap:
:o Wow, over 2,000 generations passed without any of the little monsters doing better than their ancestors in the first 1,000. I'm sorry, xSilverPhinx. :felix:
However, I see that you have the mutation size set to 5%, while the default setting is 100%. That has to have some effect.
I've started another one and set the mutation rate back to default, this time we'll see how well these creatures do in world 123. 777 is diabolical. ::)
:nu-uh: 10 000 generations is the limit, if they haven't evolved wings and completed the course by then...
:sidesmile: Do the cars have their own computer? On my computer, the program will only proceed while it's actually on screen. If I click to another tab in the browser, it pauses. They'll keep going when a screen saver comes up, but if they had the computer all to themselves I suppose I'd turn off the screen saver.
No. I leave it running in the background while I use other programs. For me the tab has to be open and the browser window maximalised, otherwise it pauses too. When I'm away from the computer I turn off the screen and let it run, that way it completes around 400 - 500 generations in a day. I could use another internet browser to surf the web and leave the tab with the genetic cars sim open in the background, but I would have to download another internet browser in order to do that. (https://www.happyatheistforum.com/forum/proxy.php?request=http%3A%2F%2Forig14.deviantart.net%2Fa905%2Ff%2F2010%2F073%2Fa%2F0%2F_lazy__by_meninasuitcase.gif&hash=d9f2f401065e6542ad046c373f8f8ed476608e20)
First thing I do when I turn on my computer is to restore the population last saved so that it can continue. Yeah. I'm obsessing over this...just a little. ;)