37:441.6 Acceleration Vector - The Nature of Code
From the creator
In this video, I add an “acceleration” vector to the Mover object and create an example where the object accelerates towards the mouse location. This is the foundation on which I will build for implementing forces in the next chapter! Code: https://thecodingtrain.com/tracks/the-nature-of-code-2/noc/1-vectors/6-acceleration-vector 🚀 Watch this video ad-free on Nebula https://nebula.tv/videos/the-coding-train-yt-1-6-acceleration-vector-the-nature-of-code 🕹️ p5.js Web Editor Sketch: https://editor.p5js.org/codingtrain/sketches/OjCfrdWX 🎥 Previous video: https://youtu.be/ttz05d8DSOs?list=PLRqwX-V7Uu6ZV4yEcW3uDwOgGXKUUsPOM 🎥 Next video: https://youtu.be/Uibl0UE4VH8?list=PLRqwX-V7Uu6ZV4yEcW3uDwOgGXKUUsPOM 🎥 All videos: https://www.youtube.com/playlist?list=PLRqwX-V7Uu6ZV4yEcW3uDwOgGXKUUsPOM Timestamps: 0:00 Welcome to the last video in Chapter 1! 0:47 Acceleration is the change in velocity 2:34 Motion 101 algorithm 4:38 Limit function 6:57 The 3 step process to add acceleration 9:50 Suggested exercises 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 ✪ Nebula: https://go.nebula.tv/codingtrain 💖 Membership: http://youtube.com/thecodingtrain/join 🛒 Store: https://standard.tv/
Published 2020-03-22 · Watch on YouTube ↗
Availability and playback restrictions are controlled by the original channel.





