Coding Challenge #69.1: Evolutionary Steering Behaviors - Part 1
Video Statistics and Information
Channel: The Coding Train
Views: 86,476
Rating: 4.9803562 out of 5
Keywords: JavaScript (Programming Language), programming, daniel shiffman, creative coding, coding challenge, tutorial, coding, challenges, coding train, the coding train, nature of code, artificial intelligence, live stream, itp, itp nyu, neural network, intelligence creative coding, intelligence and learning, genetic algorithm, steering behavior, autonomous agent, evolution code, p5.js, evolution steering behaviors, evolution steering agents, evolution nature of code
Id: flxOkx0yLrY
Channel Id: undefined
Length: 23min 58sec (1438 seconds)
Published: Tue Apr 18 2017
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.
Found a minor bug in the code on github. If you let the thing run for just a couple of minutes all of your vehicles will die off and the canvas fills with food and poison. This and another issue (vehicles are allowed to occupy the same space.) may be fixed in later code though. I haven't been able to watch the full livestream yet. I did tweet /u/shiffman about the issue though.
edit- I was able to resolve the problem of all the vehicles dying by simply increasing the amount of food that appeared. A more elegant solution might be to tell the program that if the number of vehicles reaches zero it should start creating vehicles again.
edit again- I just fixed a problem that didn't exist. Somehow, I missed the mouseDrag bit to create new vehicles.