In this coding challenge, I create a flocking simulation in JavaScript based on Craig Reynolds "boids" algorithm. Code: https://thecodingtrain.com/challenges...
🕹️ p5.js Web Editor Sketch: https://editor.p5js.org/codingtrain/s...
🎥 Previous video: • Coding Challenge #123: Chaos Game Part 1
🎥 Next video: • Coding Challenge 125: Fourier Series
🎥 All videos: • Coding Challenges
References:
📄 Craig Reynolds' Paper on Boids: https://www.red3d.com/cwr/boids/
📕 Autonomous Agents - Nature of Code: https://natureofcode.com/book/chapter...
📘 The Computational Beauty of Nature: https://mitpress.mit.edu/books/comput...
Videos:
🌐 Original Boids Simulation: • Craig Reynolds - Original 1986 Boids ...
➡️ Vectors - The Nature of Code: • 1.1 What is a Vector? - The Nature of...
🪂 Autonomous Steering Agents: • 5.1 Autonomous Steering Agents Introd...
🔴 Coding Train Live 162: • Coding Train Live 162: Flocking Simul...
Related Coding Challenges:
🚂 #69 Evolutionary Steering Behaviors: • Coding Challenge #69: Evolutionary St...
Timestamps:
0:00 Introduction to flocking!
2:07 What are boids?
2:33 Creating a system of boids
7:06 Discussing the flocking algorithm
7:38 Alignment!
21:48 Cohesion!
28:37 Separation!
37:00 Things to try!
Editing by Mathieu Blanchette
Animations by Jason Heglund
Music from Epidemic Sound
🚂 Website: http://thecodingtrain.com/
👾 Share Your Creation! https://thecodingtrain.com/guides/pas...
🚩 Suggest Topics: https://github.com/CodingTrain/Sugges...
💡 GitHub: https://github.com/CodingTrain
💬 Discord: https://thecodingtrain.com/discord
💖 Membership: http://youtube.com/thecodingtrain/join
🛒 Store: https://standard.tv/codingtrain
🖋️ Twitter: / thecodingtrain
📸 Instagram: / the.coding.train
🎥 Coding Challenges: • Coding Challenges
🎥 Intro to Programming: • Start learning here!
🔗 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-o...
This description was auto-generated. If you see a problem, please open an issue: https://github.com/CodingTrain/thecod...
#flocking #creativecoding #autonomousagents #processing #p5js
On this page of the site you can watch the video online Coding Challenge 124: Flocking Simulation with a duration of hours minute second in good quality, which was uploaded by the user The Coding Train 11 December 2018, share the link with friends and acquaintances, this video has already been watched 335,125 times on youtube and it was liked by 6.5 thousand viewers. Enjoy your viewing!