Still runs in the browser thanks to Ruffle:
Watch cars evolve using genetic algorithm
11–20 of 76 posts
Re: Watch cars evolve using genetic algorithm
#12Re: Watch cars evolve using genetic algorithm
#13Re: Watch cars evolve using genetic algorithm
#14I wrote the original version of this nearly 20 years ago. Cool to see it still pop up here from time to time. Still runs in the browser thanks to Ruffle: https://peteshadbolt.co.uk/posts/ga/
Re: Watch cars evolve using genetic algorithm
#15I wrote the original version of this nearly 20 years ago. Cool to see it still pop up here from time to time. Still runs in the browser thanks to Ruffle: https://peteshadbolt.co.uk/posts/ga/
Re: Watch cars evolve using genetic algorithm
#16Why are the cars so spiky and why do they stay that way? Mostly what I saw was the wheels move and change size.
I don't know why they stay that way. My first thought would be that it might be beneficial for the shape to be relatively low for stability, but with the shape between the wheels being concave for clearance. That doesn't quite seem to happen, except for the concave clearance to an extent.
Maybe the rest of the shape doesn't really matter for the simulation, so there's no selective pressure towards not having a spiky shape.
Re: Watch cars evolve using genetic algorithm
#17So boxcar2d, but without flash. https://news.ycombinator.com/item?id=2196747
The physics simulation clearly uses inelastic collisions, which is wildly unrealistic and why so many otherwise passable 'cars' don't pass the course. Also seems to use a very low coefficient of friction - most of my cars couldn't make it up a two-segement slope.
Re: Watch cars evolve using genetic algorithm
#18Interesting. Is there a way to do this in a 3d physics based simulation environment. It would be cool to see if a genetic algorithm could be used to discover new aerodynamic configurations for drones/other platforms in simulation. I don't know enough about genetic algorithms to say for certain. Anyone have any reference materials for someone that's just started looking into this?
Re: Watch cars evolve using genetic algorithm
#19Re: Watch cars evolve using genetic algorithm
#20I wrote the original version of this nearly 20 years ago. Cool to see it still pop up here from time to time. Still runs in the browser thanks to Ruffle: https://peteshadbolt.co.uk/posts/ga/