Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Maes

Let there be cars

Recommended Posts

It's more fun than QWOP. Oh wait that one was neither fun nor addictive...

Share this post


Link to post

Is the idea that it gets smarter each time and designs a better version? Mine was doing well, but it must have suffered a stroke or something. Now it's just spewing out spiky blobs with the wheels on the roof.

Share this post


Link to post

Hmmm, I do wish there was a time lapse feature. It's probably going to take quite a few generations to get things rolling (heh), and my unfortunate lack of patience is starting to show. :P

I suppose I could let it run overnight, though.

Share this post


Link to post

I guess this random mutation but I stopped watching after one generation. And how do we get .01 of a generation? Each car is a generation.

Share this post


Link to post

Essentially it mixes "the best" features of each generation. If you're lucky enough to get several rolling prototypes at generation 0, you can have large-wheeled trucks already from the next two generations, but once it took me TWELVE generations to get something moving (rolling/bouncing evolved almost to perfection though ;-)

And sometimes you get good features which however get watered down by suboptimal ones e.g. big wheels + too low floor.

Increasing mutation rates helps if you are "stuck" with unwanted features, but if it's too high it doesn't let good ones settle down.

Technician said:

I guess this random mutation but I stopped watching after one generation. And how do we get .01 of a generation? Each car is a generation.


20 cars are a generation. The ones of "generation 0" are the forefathers (they all have unique colors and designs) and the next ones are mixtures of the "most fit" of the immediately previous generation, and so on recursively.

Share this post


Link to post

Had one that looked like a shark and it really took off. Still didn't make it up the big hill. May have reached the efficiency goal?

I so want this as a screen saver!

Share this post


Link to post

Left mine running in the background whilst browsing internets. The design seems to have stabilised into a fairly sensible shape now. Most incarnations look similar to this:

Share this post


Link to post

Usually, the most optimal designs tend to be big-wheeled, balanced "monster truck" designs, but sometimes you get contraptions like "wheelbarrows", "tadpoles", "dragsters" or even uniwheels, "tanks", balanced piramids, flippers etc. as the dominant species, if for some reason big, symmetric wheels haven't evolved.

Share this post


Link to post

Mine tried doing a uniwheel for a little while, but kept faceplanting at the first hill, heh.

Share this post


Link to post

I'm fascinated by genetic algorithms like this. With nothing but brute force trial and error and a lot of time you can find the optimal solution to a problem, given enough simulation complexity.

NASA did something similar to come up with an optimized antenna design: http://ti.arc.nasa.gov/projects/esg/research/antenna.htm
Another related topic is emergence; many simple behaviors combined to form a very complex and seemingly intelligent result. http://en.wikipedia.org/wiki/Emergence

Share this post


Link to post

I have been thinking for roughly a year that it might be possible to build something similar in Garry's Mod assuming you can use Wiremod to build chips that modify each other's code. Things like factories and complex systems of sensors are common enough for that game.

Share this post


Link to post

I'm at generation 71 and there is a section of the road (472.8) that seems deliberately made to stop these cars. It's been about twenty generations and no car can get past this section. The tire fits in the clevis perfectly.

Share this post


Link to post

How do I get this thing to keep running when my screensaver kicks in? Firefox seems to decide pausing it is a good plan if it's not front and centre.

Share this post


Link to post

If Folding@Home were this entertaining, I'd actually run it.

Share this post


Link to post
Technician said:

Have you tried turning off your screen saver? Or does it still pause when the computer goes into rest?


I have it set to blank the screen when idle. This monitor has an issue where it won't come back on easily if it ever turns off. Hard to sleep with it on bright.

EDIT: Well, it seems to be happier running in a separate window on my other monitor. Then I can lock my screen and it keeps going.

Share this post


Link to post

Yeah at some point there's a cliff that can't be passed -or if you reach it, you get maximum fitness and that's it.

I'm not sure if it's still unpassable for a small wheel/wide chassis/high curvature combo though, as small wheels seem to give more traction on hills, while large ones give speed and "swallow" minor and medium bumbs more easily.

Share this post


Link to post

Got an oddball one hit 509, but again, same point. Big wheels tend to slow down on that hill, and small wheels usually can't reach that far to begin with, so it's essentially a hard limit.

Share this post


Link to post

I get the feeling if I was able to tweak the design of the vechicle myself, it would go beyond that limit easily.

Take the design from my screen shot, remove the point/relocate elsewhere to prevent it bouncing and it should do the trick.

Edit: Generation 209 now, reached 549

Share this post


Link to post

This thing is mesmerising. I'm only at generation 5 and it has decided that longish wheelbases work best. Unfortunately these get beached by the ridge at 151, and it hasn't conquered that yet.

PS the number in brackets isn't the furthest reached, it's the target it sets itself to see if that design is sucessful. It gets longer each generation or so regardless if it's reached.

Share this post


Link to post

I've never seen a car get past 238 on any terrain permutation. So far I have only seen one un-scalable hill. The others involved situations that would be easy enough if they didn't come right after something that demanded a different configuration.

I wonder how much better these could do if they could vary engine power and maybe even weight distribution. I suspect the effect would look even more like motocross than this does.

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×