Загрузка страницы

5.4 Arrive Steering Behavior - The Nature of Code

It's finally time for me to tackle a JavaScript (p5.js) implementation of the "arrival" steering behavior from Craig Reynolds' 1999 paper Steering Behaviors For Autonomous Characters!
https://thecodingtrain.com/learning/nature-of-code/5.4-arrive.html

🕹️ p5.js Web Editor Sketch: https://editor.p5js.org/codingtrain/sketches/1eUnUQnwB

🎥 Previous video: https://youtu.be/Q4MU7pkDYmQ?list=PLRqwX-V7Uu6ZV4yEcW3uDwOgGXKUUsPOM
🎥 Next video: https://youtu.be/ujsR2vcJlLk?list=PLRqwX-V7Uu6ZV4yEcW3uDwOgGXKUUsPOM
🎥 All videos: https://www.youtube.com/playlist?list=PLRqwX-V7Uu6ZV4yEcW3uDwOgGXKUUsPOM

Links discussed in this video:
🔗 Steering Behaviors For Autonomous Characters: http://www.red3d.com/cwr/steer/

Timestamps:
0:00 The moment you've been waiting for has arrived!
0:17 Review! Seek, flee, pursue, and evade.
0:41 Explain! What is the arrive behavior?
1:01 Explain! How is arrive different from seek?
2:27 Code! Creating the arrive method!
5:24 I'll refactor this now! Better variable names.
6:04 I'll refactor this now! Integrate arrive with the existing seek method.
8:14 What's next?

🚂 Website: http://thecodingtrain.com/
👾 Share Your Creation! https://thecodingtrain.com/Guides/community-contribution-guide.html
🚩 Suggest Topics: https://github.com/CodingTrain/Rainbow-Topics
💡 GitHub: https://github.com/CodingTrain
💬 Discord: https://discord.gg/hPuGy2g
💖 Membership: http://youtube.com/thecodingtrain/join
🛒 Store: https://standard.tv/codingtrain
📚 Books: https://www.amazon.com/shop/thecodingtrain
🖋️ 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

Видео 5.4 Arrive Steering Behavior - The Nature of Code канала The Coding Train
Показать
Комментарии отсутствуют
Введите заголовок:

Введите адрес ссылки:

Введите адрес видео с YouTube:

Зарегистрируйтесь или войдите с
Информация о видео
12 июля 2021 г. 20:39:04
00:08:47
Яндекс.Метрика