29:523.6 Graphing Sine Wave - Nature of Code
From the creator
What does a sine wave look like? In this video I look at how to graph and animate a sine wave in p5.js varying the period and phase. Code: https://thecodingtrain.com/tracks/the-nature-of-code-2/noc/3-angles/6-graphing-sine-wave p5.js Web Editor Sketches: 🕹️ Sine Wave Graph Exercise: https://editor.p5js.org/codingtrain/sketches/EIbEYLTaZ 🕹️ Playing With Period: https://editor.p5js.org/codingtrain/sketches/SbRC-G0lU 🕹️ Graphing Wave: https://editor.p5js.org/codingtrain/sketches/c_S9jiXz- 🕹️ Circular Wave Exercise: https://editor.p5js.org/codingtrain/sketches/mOm2Is7ba 🎥 Previous video: https://youtu.be/m463X1cqV6s?list=PLRqwX-V7Uu6ZV4yEcW3uDwOgGXKUUsPOM 🎥 Next video: https://youtu.be/okfZRl4Xw-c?list=PLRqwX-V7Uu6ZV4yEcW3uDwOgGXKUUsPOM 🎥 All videos: https://www.youtube.com/playlist?list=PLRqwX-V7Uu6ZV4yEcW3uDwOgGXKUUsPOM Timestamps: 0:00 Good to see you again! 0:31 How do we graph a wave? 1:30 Let's do that right now! 3:18 Let's try varying the period 4:22 Why are we here again? 5:05 Change the starting angles 6:52 What happens if we go back to angular velocity? 7:19 Whoa! Let's use a static increment value 8:10 Go make something awesome! 9:29 See you in the next video! 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
Published 2021-02-12 · Watch on YouTube ↗
Availability and playback restrictions are controlled by the original channel.
Keep exploring Learn to Code
29:52
04:07
11:04"Anti-Slop" Designs with Impeccable (a Crash Course) #5 - Enable Image Generation
Net Ninja
2:25:40
42:55Java Graphics Programming Tutorial - How To Draw Shapes, Paths, Curves, and Apply Transformations
choobtorials
08:10
18:31