Uploaded January 2021 | Updated September 2026, 1 week ago
In this video of Chapter 3, I explain how to apply the concepts of motion from the previous chapter to angles. Then I demonstrate how to use angular motion in a sketch in p5.js. Code: thecodingtrain.com/tracks/the-nature-of-code-2/noc/3-angles/2-angular-motion
p5.js Web Editor Sketches:
πΉοΈ Rectangle Acceleration: editor.p5js.org/codingtrain/sketches/RR9XUN1mf
πΉοΈ Rectangle Grab Exercise: editor.p5js.org/codingtrain/sketches/In9e8j6t_
πΉοΈ Gravitational Attraction: editor.p5js.org/codingtrain/sketches/Y-yxvkkZk
π₯ Previous video: youtu.be/DMg-WRfNB60?list=PLRqwX-V7Uu6ZV4yEcW3uDwOgGXKUUsPOM
π₯ Next video: youtu.be/oXwCVDXS2Lg?list=PLRqwX-V7Uu6ZV4yEcW3uDwOgGXKUUsPOM
π₯ All videos: youtube.com/playlist?list=PLRqwX-V7Uu6ZV4yEcW3uDwOgGXKUUsPOM
Videos:
π₯ 2.5 Gravitational Attraction: youtu.be/EpgB3cNhKPM
π₯ Transformations (Translate, Rotate, Push/Pop) - Part 1: youtu.be/o9sgjuh-CBM
Timestamps:
0:00 Welcome Back!
0:12 Motion using vectors
1:12 Applying that to angles
1:46 Angular velocity
2:38 Angular acceleration
4:52 Adding angular motion to gravitational attraction
8:04 What could you do next?
9:16 Share what you create with me!
Editing by Mathieu Blanchette
Animations by Jason Heglund
Music from Epidemic Sound
π Website: 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
βͺ Nebula: go.nebula.tv/codingtrain
π Membership: youtube.com/thecodingtrain/join
π Store: standard.tv/codingtrain
ποΈ Twitter: twitter.com/thecodingtrain
πΈ Instagram: instagram.com/the.coding.train
π₯ 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
In this video of Chapter 3, I explain how to apply the concepts of motion from the previous chapter to angles. Then I demonstrate how to use angular motion in a sketch in p5.js. Code: thecodingtrain.com/tracks/the-nature-of-code-2/noc/3-angles/2-angular-motion
p5.js Web Editor Sketches:
πΉοΈ Rectangle Acceleration: editor.p5js.org/codingtrain/sketches/RR9XUN1mf
πΉοΈ Rectangle Grab Exercise: editor.p5js.org/codingtrain/sketches/In9e8j6t_
πΉοΈ Gravitational Attraction: editor.p5js.org/codingtrain/sketches/Y-yxvkkZk
π₯ Previous video: youtu.be/DMg-WRfNB60?list=PLRqwX-V7Uu6ZV4yEcW3uDwOgGXKUUsPOM
π₯ Next video: youtu.be/oXwCVDXS2Lg?list=PLRqwX-V7Uu6ZV4yEcW3uDwOgGXKUUsPOM
π₯ All videos: youtube.com/playlist?list=PLRqwX-V7Uu6ZV4yEcW3uDwOgGXKUUsPOM
Videos:
π₯ 2.5 Gravitational Attraction: youtu.be/EpgB3cNhKPM
π₯ Transformations (Translate, Rotate, Push/Pop) - Part 1: youtu.be/o9sgjuh-CBM
Timestamps:
0:00 Welcome Back!
0:12 Motion using vectors
1:12 Applying that to angles
1:46 Angular velocity
2:38 Angular acceleration
4:52 Adding angular motion to gravitational attraction
8:04 What could you do next?
9:16 Share what you create with me!
Editing by Mathieu Blanchette
Animations by Jason Heglund
Music from Epidemic Sound
π Website: 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
βͺ Nebula: go.nebula.tv/codingtrain
π Membership: youtube.com/thecodingtrain/join
π Store: standard.tv/codingtrain
ποΈ Twitter: twitter.com/thecodingtrain
πΈ Instagram: instagram.com/the.coding.train
π₯ 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









![Members Live: Archive of Apple ][ Recording of 3D spinning cube
Members Live: Archive of Apple ][ Recording of 3D spinning cube Members Live: Archive of Apple ][ Recording of 3D spinning cube](https://i.ytimg.com/vi/lzAPLYApVTU/mqdefault.jpg)
