In this multi-part coding challenge, I create a system where autonomous steering agents evolve the behavior of eating food and avoiding poison. Code: thecodingtrain.com/challenges...
🕹️ p5.js Web Editor Sketch: editor.p5js.org/codingtrain/s...
Other Parts of this Challenge:
📺 Evolutionary Steering Behaviors Part 2: • Coding Challenge #69: ...
📺 Evolutionary Steering Behaviors Part 3: • Coding Challenge #69: ...
📺 Evolutionary Steering Behaviors Part 4: • Coding Challenge #69: ...
📺 Evolutionary Steering Behaviors - Part 5 (Bonus): • Coding Challenge #69: ...
🎥 Previous video: • Coding Challenge #68: ...
🎥 Next video: • Coding Challenge #70: ...
🎥 All videos: • Coding Challenges
References:
💾 Repo for Autonomous Agents in p5.js: github.com/nature-of-code/noc...
📕 The Nature of Code Part 2 (Spring 2017) - Intelligence and Learning: github.com/shiffman/NOC-S17-2...
📕 Nature of Code: natureofcode.com/
🚗 Steering Behaviors: www.red3d.com/cwr/steer/
🧬 My Genetic Algorithm Playlist: • 9: Genetic Algorithms ...
Videos:
🚂 My Video on Autonomous Agents and Steering: • 5.1 Autonomous Steerin...
🚂 My Video on Vectors in p5.js: • 9.7: Drawing Object Tr...
🚂 My Video on How to go Through an Array Backwards: • 7.7: Deleting Objects ...
🚂 My Genetic Algorithm Playlist: • 9.1: Genetic Algorithm...
🔴 Coding Train Live 89: • Live Stream #89: Sessi...
Related Coding Challenges:
🚂 #59 Steering Behaviors: • Coding Challenge #59: ...
🚂 #124 Flocking Simulation: • Coding Challenge 124: ...
Timestamps:
0:00 Introducing today's topic: Evolutionary Steering Behavior
1:30 Map out the ecosystem
5:41 Steering behaviors
8:36 Let's Code!
12:00 Add a food array
14:06 Add a eat function
19:16 Remove a food element if it has been eaten
20:38 Add a poison array
22:57 What do I need to do next?
Editing by Mathieu Blanchette
Animations by Jason Heglund
Music from Epidemic Sound
🚂 Website: thecodingtrain.com/
👾 Share Your Creation! thecodingtrain.com/guides/pas...
🚩 Suggest Topics: github.com/CodingTrain/Sugges...
💡 GitHub: github.com/CodingTrain
💬 Discord: thecodingtrain.com/discord
💖 Membership: kzitem.infojoin
🛒 Store: standard.tv/codingtrain
🖋️ Twitter: / thecodingtrain
📸 Instagram: / the.coding.train
🎥 Coding Challenges: • Coding Challenges
🎥 Intro to Programming: • Start learning here!
🔗 p5.js: p5js.org
🔗 p5.js Web Editor: editor.p5js.org/
🔗 Processing: processing.org
📄 Code of Conduct: github.com/CodingTrain/Code-o...
This description was auto-generated. If you see a problem, please open an issue: github.com/CodingTrain/thecod...
#geneticalgorithms #steeringbehaviors #seekfunction #autonomousagent #evolution #javascript #p5js
Негізгі бет Coding Challenge #69: Evolutionary Steering Behaviors - Part 1
Пікірлер: 165