Coding Challenge #69: Evolutionary Steering Behaviors - Part 4
In this multi-part coding challenge, I create a system where autonomous steering agents evolve the behavior of eating food and avoiding poison. Code: https://thecodingtrain.com/challenges/69-evolutionary-steering-behaviors πΉοΈ p5.js Web Editor Sketch: https://editor.p5js.org/codingtrain/sketches/xgQNXkxx1 Other Parts of this Challenge: πΊ Evolutionary Steering Behaviors Part 1: https://youtu.be/flxOkx0yLrY πΊ Evolutionary Steering Behaviors Part 2: https://youtu.be/XaOVH8ZSRNA πΊ Evolutionary Steering Behaviors Part 3: https://youtu.be/vZUWTlK7D2Q πΊ Evolutionary Steering Behaviors - Part 5 (Bonus): https://youtu.be/VnFF5V5DS8s π₯ Previous video: https://youtu.be/piBq7VD0ZSo?list=PLRqwX-V7Uu6ZiZxtDDRCi6uhfTH4FilpH π₯ Next video: https://youtu.be/N8Fabn1om2k?list=PLRqwX-V7Uu6ZiZxtDDRCi6uhfTH4FilpH π₯ All videos: https://www.youtube.com/playlist?list=PLRqwX-V7Uu6ZiZxtDDRCi6uhfTH4FilpH References: πΎ Repo for Autonomous Agents in p5.js: https://github.com/nature-of-code/noc-examples-p5.js/blob/master/chp06_agents/NOC_6_01_Seek/vehicle.js π The Nature of Code Part 2 (Spring 2017) - Intelligence and Learning: https://github.com/shiffman/NOC-S17-2-Intelligence-Learning π Nature of Code: http://natureofcode.com/ π Steering Behaviors: http://www.red3d.com/cwr/steer/ 𧬠My Genetic Algorithm Playlist: https://www.youtube.com/playlist?list=PLRqwX-V7Uu6bJM3VgzjNV5YxVxUwzALHV Videos: π My Video on Autonomous Agents and Steering: https://www.youtube.com/watch?v=P_xJMH8VvAE π My Video on Vectors in p5.js: https://www.youtube.com/watch?v=vqE8DMfOajk π My Video on How to go Through an Array Backwards: https://youtu.be/HXOD_XDA-KU π My Genetic Algorithm Playlist: https://www.youtube.com/watch?v=9zfeTw-uFCw&list=PLRqwX-V7Uu6bJM3VgzjNV5YxVxUwzALHV π΄ Coding Train Live 89: https://youtu.be/qzFlnX-z38U?t=7507s Related Coding Challenges: π #59 Steering Behaviors: https://youtu.be/4hA7G3gup-4 π #124 Flocking Simulation: https://youtu.be/mhjuuHl6qHM Timestamps: 0:00 Evolutionary Steering Behaviors -- Part 4 1:58 Adjust eat function to fix bug 6:35 Add a clone function 17:13 Adjust DNA by adding a mutation rate 19:13 Fine tune the system 21:40 Conclusion and possibilities for variations Editing by Mathieu Blanchette Animations by Jason Heglund Music from Epidemic Sound π Website: http://thecodingtrain.com/ πΎ Share Your Creation! https://thecodingtrain.com/guides/passenger-showcase-guide π© Suggest Topics: https://github.com/CodingTrain/Suggestion-Box π‘ GitHub: https://github.com/CodingTrain π¬ Discord: https://thecodingtrain.com/discord π Membership: http://youtube.com/thecodingtrain/join π Store: https://standard.tv/codingtrain ποΈ Twitter: https://twitter.com/thecodingtrain πΈ Instagram: https://www.instagram.com/the.coding.train/ π₯ Coding Challenges: https://www.youtube.com/playlist?list=PLRqwX-V7Uu6ZiZxtDDRCi6uhfTH4FilpH π₯ Intro to Programming: https://www.youtube.com/playlist?list=PLRqwX-V7Uu6Zy51Q-x9tMWIv9cueOFTFA π p5.js: https://p5js.org π p5.js Web Editor: https://editor.p5js.org/ π Processing: https://processing.org π Code of Conduct: https://github.com/CodingTrain/Code-of-Conduct This description was auto-generated. If you see a problem, please open an issue: https://github.com/CodingTrain/thecodingtrain.com/issues/new #geneticalgorithms #steeringbehaviors #seekfunction #autonomousagent #evolution #javascript #p5js
Download
0 formatsNo download links available.