Skip to content

Comment on HTML5 Genetic Carsparent

Comments

Nah, no shenanigans. It was definitely a glitch, but I'm not sure if I can explain it much better. The "flying cars" start with one wheel on top of the track, and one wheel below the track. As the wheels turn, it makes very little/slow progress, but you can see the car sort of shaking/struggling to release. That release eventually happens as the lower wheel gets to a point where it can cross back to the top of the track, and that twisting motion flings the car up and forward very quickly. The cars never even see the track again. I'm not sure what actually causes the car to stop... the replay wasn't very interesting to watch after the initial 'launch', as it just spins in whitespace for a little while and then eventually just stops spinning in an upright position while travelling forward.

Weird, but interesting bug. Have you reloaded it and ran it long enough to determine if it's reproducible?

That was the longest run I've done, somewhere between 24 and 36 hours left mostly untouched and forgotten on the settings you can see in the picture (with Surprise! mode on to speed things up). Unfortunately I did mess with it a couple times when I got bored with its progress, cranking up the Mutation rate for a few runs to bring in some extra variety; so it would probably be tricky to reproduce intentionally. I've got a new version up and running again, since this one did eventually crash.

Definitely weird and interesting. The funny thing to me was that it is sort of a "realistic" evolution, since flying cars could be an eventual next step for real-life transportation. Although hopefully with a less violent launch system :)

Kudos -- that's awesome :D

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.