9:54:072.4 Drag Force - The Nature of Code
From the creator
In this video I implement the formula for a “drag” force with p5.js (also known as air resistance or fluid resistance) and similar objects falling into a liquid. Code: https://thecodingtrain.com/tracks/the-nature-of-code-2/noc/2-forces/4-drag-force 🚀 Watch this video ad-free on Nebula https://nebula.tv/videos/the-coding-train-yt-24-drag-force-the-nature-of-code p5.js Web Editor Sketches: 🕹️ Drag Force: https://editor.p5js.org/codingtrain/sketches/5V8nSBOS 🕹️ Goose and the Jello Cubes of Varying Densities: https://editor.p5js.org/codingtrain/sketches/O36gAqVqt 🕹️ Surface Area Exercise: https://editor.p5js.org/codingtrain/sketches/hHDqBfOCt 🎥 Previous video: https://youtu.be/WBdhAuWS6X8?list=PLRqwX-V7Uu6ZV4yEcW3uDwOgGXKUUsPOM 🎥 Next video: https://youtu.be/EpgB3cNhKPM?list=PLRqwX-V7Uu6ZV4yEcW3uDwOgGXKUUsPOM 🎥 All videos: https://www.youtube.com/playlist?list=PLRqwX-V7Uu6ZV4yEcW3uDwOgGXKUUsPOM References: 🔗 Drag: https://en.wikipedia.org/wiki/Drag_%28physics%29 🔗 Nature of Code Chapter 2: https://natureofcode.com/book/chapter-2-forces/ Timestamps: 0:00 Introduction 1:06 Formula for drag 1:37 Direction of drag 2:15 Density 2:52 Surface area 3:45 Coefficient of drag 4:09 Simplified drag force 4:39 Drag force is proportional to speed 7:45 Add a rectangle with a different drag force 9:29 Possible exercises 10:28 See you in the next video! Editing by Mathieu Blanchette Animations by Jason Heglund Music from Epidemic Sound 🚂 Website: http://thecodingtrain.com/ 👾 Share Your Crea
Published 2020-04-11 · Watch on YouTube ↗
Availability and playback restrictions are controlled by the original channel.





