2.3 Friction Force - The Nature of Code

2.3 Friction Force - The Nature of Code

Subscribers:
1,750,000
Published on ● Video Link: https://www.youtube.com/watch?v=WBdhAuWS6X8



Duration: 14:45
59,116 views
1,585


In this video, I cover how to read the formula for kinetic friction and incorporate it into a p5.js sketch with the Mover applyForce() function. Code: https://thecodingtrain.com/tracks/the-nature-of-code-2/noc/2-forces/3-friction-force

๐Ÿš€ Watch this video ad-free on Nebula https://nebula.tv/videos/coding-train-yt-2-3-friction-force-the-nature-of-code

p5.js Web Editor Sketches:
๐Ÿ•น๏ธ Friction Force: https://editor.p5js.org/codingtrain/sketches/zcTpMCpA
๐Ÿ•น๏ธ Top Down Billiards Exercise: https://editor.p5js.org/codingtrain/sketches/S3SCcnUa7
๐Ÿ•น๏ธ Slope Exercise: https://editor.p5js.org/codingtrain/sketches/LS5FlhljG
๐Ÿ•น๏ธ Show Vectors Exercise: https://editor.p5js.org/codingtrain/sketches/Vyg_iWNGE

๐ŸŽฅ Previous video: https://youtu.be/L7CECWLdTmo?list=PLRqwX-V7Uu6ZV4yEcW3uDwOgGXKUUsPOM
๐ŸŽฅ Next video: https://youtu.be/DxFDgOYEoy8?list=PLRqwX-V7Uu6ZV4yEcW3uDwOgGXKUUsPOM
๐ŸŽฅ All videos: https://www.youtube.com/playlist?list=PLRqwX-V7Uu6ZV4yEcW3uDwOgGXKUUsPOM

References:
๐Ÿ”— Friction: https://en.wikipedia.org/wiki/Friction

Videos:
๐ŸŽฅ for...of loop: https://youtu.be/Y8sMnRQYr3c

Timestamps:
0:00 Welcome back!
1:00 Formula for friction
2:35 Coefficient of friction
3:24 The Normal force
5:33 Add a friction function
8:22 Add an array of objects
10:30 "Quick and dirty" algorithm
11:56 Possible exercises
13:57 Next up -- some case studies

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

๐Ÿš‚ Website: http://thecodingtrain.com/
๐Ÿ‘พ Share Your Creation! https://thecodingtrain.com/guides/passenger-showcase-guide
๐Ÿšฉ Suggest Topics: https://github.com/CodingTrain/Suggestion-Box
๐Ÿ’ก GitHub: https://github.com/CodingTrain
๐Ÿ’ฌ Discord: https://thecodingtrain.com/discord
๐Ÿ’– Membership: http://youtube.com/thecodingtrain/join
๐Ÿ›’ Store: https://standard.tv/codingtrain
๐Ÿ–‹๏ธ 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

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

#forbeginners #javascript #p5js