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