Coding Challenge #69: Evolutionary Steering Behaviors - Part 4

Subscribers:
1,740,000
Published on ● Video Link: https://www.youtube.com/watch?v=ykOcaInciBI



Duration: 23:11
37,078 views
834


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







Tags:
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