tubeshowcase●♡ My collection 0
← Learn to Code

Learn to Code16:34

3.4 Polar Coordinates - The Nature of Code

The Coding Train ↗

From the creator

It’s finally time to dive into the trigonometric functions—sine, cosine, tangent—and take a close look at thinking in polar coordinates with p5.js! Code: https://thecodingtrain.com/tracks/the-nature-of-code-2/noc/3-angles/4-polar-coordinates p5.js Web Editor Sketches: 🕹️ Basic Polar Coordinates: https://editor.p5js.org/codingtrain/sketches/DHetsOfgz 🕹️ Spiral: https://editor.p5js.org/codingtrain/sketches/BnJ_4U4cr 🕹️ Random Trail: https://editor.p5js.org/codingtrain/sketches/WqK-qD1vU 🕹️ Circular Shape: https://editor.p5js.org/codingtrain/sketches/s10TQXDZv 🎥 Previous video: https://youtu.be/oXwCVDXS2Lg?list=PLRqwX-V7Uu6ZV4yEcW3uDwOgGXKUUsPOM 🎥 Next video: https://youtu.be/m463X1cqV6s?list=PLRqwX-V7Uu6ZV4yEcW3uDwOgGXKUUsPOM 🎥 All videos: https://www.youtube.com/playlist?list=PLRqwX-V7Uu6ZV4yEcW3uDwOgGXKUUsPOM References: 🔗 sin(): https://p5js.org/reference/#/p5/sin 🔗 cos(): https://p5js.org/reference/#/p5/cos 🔗 tan(): https://p5js.org/reference/#/p5/tan Videos: 🎥 3.1 Angles and Rotation: https://youtu.be/DMg-WRfNB60 🎥 Asteroids with p5.js: https://youtu.be/hacZU523FyM 🎥 Polar Perlin Noise Loops: https://youtu.be/ZI1dmHv3MeM Timestamps: 0:00 I'm so excited! 0:11 Sine, cosine, and tangent 2:24 Sin, cos, and tan again differently 5:49 Polar coordinates 9:03 Demonstrate polar coordinates 11:26 Spiral and Randomness 12:17 Draw your own circular shape 15:19 What kinds of shapes can you make? 16:02 See you in the next video! Editing by Mathieu Blanchette Animations by Jason He

Published 2021-02-06 · Watch on YouTube ↗
Availability and playback restrictions are controlled by the original channel.

Keep exploring Learn to Code