Polar Coordinates
Nature of Code Lesson #3.4
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!
Topics
- 0:00 - I'm so excited!
- 0:11 - Explain! sine, cosine, and tangent
- 2:24 - Explain! sin, cos, and tan again differently
- 5:49 - Explain! Polar coordinates
- 9:03 - Code! Demonstrate polar coordinates
- 11:26 - Code! Spiral and Randomness
- 12:17 - Code! Draw your own circular shape
- 15:19 - Ideas! What kinds of shapes can you make?
- 16:02 - See you in the next video!
Community Contributions
- Rainbow Spiral using Polar Coordinates by Tom (Source Code)
- Clock with trails by The Exceptionist (Source Code)
You can also add your own version! (See how)
Links discussed in this lesson
Videos discussed in this lesson
- 3.1 Angles and Rotation - The Nature of Code by The Coding Train
- Asteroids with p5.js - Coding Challenge #46 by The Coding Train
- Polar Perlin Noise Loops - Coding Challenge #136 by The Coding Train