@TheCodingTrain
  @TheCodingTrain
The Coding Train | 5.5 Wander Steering Behavior - The Nature of Code @TheCodingTrain | Uploaded 3 years ago | Updated 8 minutes ago
Craig Reynoldsโ€™ โ€œWanderโ€ steering behavior is one of my favorites! In this video, I implement my take on it in JavaScript with p5.js and encourage you to invent your own version! Code: thecodingtrain.com/tracks/the-nature-of-code-2/noc/5-autonomous-agents/5-wander

p5.js Web Editor Sketches:
๐Ÿ•น๏ธ Main: editor.p5js.org/codingtrain/sketches/LVtVlS52Q
๐Ÿ•น๏ธ With Sliders: editor.p5js.org/codingtrain/sketches/uxemh7FGc
๐Ÿ•น๏ธ Deleting Positions: editor.p5js.org/codingtrain/sketches/EWHjy--Os
๐Ÿ•น๏ธ 3D: editor.p5js.org/codingtrain/sketches/t6sFXmVrk
๐Ÿ•น๏ธ Displacement (From Paper): editor.p5js.org/codingtrain/sketches/VdHUvgHkm
๐Ÿ•น๏ธ Perlin Noise: editor.p5js.org/codingtrain/sketches/XH2DtikuI

๐ŸŽฅ Previous video: youtu.be/OxHJ-o_bbzs?list=PLRqwX-V7Uu6ZV4yEcW3uDwOgGXKUUsPOM
๐ŸŽฅ Next video: youtu.be/DHPfoqiE4yQ?list=PLRqwX-V7Uu6ZV4yEcW3uDwOgGXKUUsPOM
๐ŸŽฅ All videos: youtube.com/playlist?list=PLRqwX-V7Uu6ZV4yEcW3uDwOgGXKUUsPOM

References:
๐Ÿ”— Steering Behaviors for Autonomous Characters: http://www.red3d.com/cwr/steer

Videos:
๐ŸŽฅ Polar Coordinates: youtu.be/O5wjXoFrau4

Timestamps:
0:00 Hello, let's wander together.
0:25 What is wander?
0:41 Creating the wander function.
1:01 There's more to it than just a random force.
4:19 Refining the wander function
6:23 Let's take a closer look at theta.
7:38 But what about the randomness?
10:16 Adding a path to the vehicle.
12:13 Finalizing the sketch.
12:40 The displacement method described in the paper.
14:07 What could you create?
15:13 Thanks for joining me!

Editing by Mathieu Blanchette
Animations by Jason Heglund
Music from Epidemic Sound

๐Ÿš‚ Website: http://thecodingtrain.com
๐Ÿ‘พ Share Your Creation! thecodingtrain.com/guides/passenger-showcase-guide
๐Ÿšฉ Suggest Topics: github.com/CodingTrain/Suggestion-Box
๐Ÿ’ก GitHub: github.com/CodingTrain
๐Ÿ’ฌ Discord: thecodingtrain.com/discord

๐Ÿ’– Membership: http://youtube.com/thecodingtrain/join
๐Ÿ›’ Store: standard.tv/codingtrain
๐Ÿ–‹๏ธ Twitter: twitter.com/thecodingtrain
๐Ÿ“ธ Instagram: instagram.com/the.coding.train
โœช Nebula: go.nebula.tv/codingtrain
๐ŸŽฅ Coding Challenges: youtube.com/playlist?list=PLRqwX-V7Uu6ZiZxtDDRCi6uhfTH4FilpH
๐ŸŽฅ Intro to Programming: youtube.com/playlist?list=PLRqwX-V7Uu6Zy51Q-x9tMWIv9cueOFTFA

๐Ÿ”— p5.js: p5js.org
๐Ÿ”— p5.js Web Editor: editor.p5js.org
๐Ÿ”— Processing: processing.org

๐Ÿ“„ Code of Conduct: github.com/CodingTrain/Code-of-Conduct

This description was auto-generated. If you see a problem, please open an issue: github.com/CodingTrain/thecodingtrain.com/issues/new

#forbeginners #javascript #p5js
5.5 Wander Steering Behavior - The Nature of CodeCoding Train Stickers 2023 Last Call!More Nature of Code Chapter 2, + 3D Fractals?Welcome (again) to the New Studio - Topics TBDFlocking rule 4? #genuary19Did I finish Nature of Code?Lets Build a Nature of Code 404 Page!Throbber #genuary74.2: Many Particle Systems (Emitters!) - The Nature of CodeCoding Train Live:  Coding Train Late Night 1#genuary3How to Set Up a Node.js Project

5.5 Wander Steering Behavior - The Nature of Code @TheCodingTrain

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER