Uploaded February 2021 | Updated September 2026, 1 week ago
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: thecodingtrain.com/tracks/the-nature-of-code-2/noc/3-angles/4-polar-coordinates
p5.js Web Editor Sketches:
πΉοΈ Basic Polar Coordinates: editor.p5js.org/codingtrain/sketches/DHetsOfgz
πΉοΈ Spiral: editor.p5js.org/codingtrain/sketches/BnJ_4U4cr
πΉοΈ Random Trail: editor.p5js.org/codingtrain/sketches/WqK-qD1vU
πΉοΈ Circular Shape: editor.p5js.org/codingtrain/sketches/s10TQXDZv
π₯ Previous video: youtu.be/oXwCVDXS2Lg?list=PLRqwX-V7Uu6ZV4yEcW3uDwOgGXKUUsPOM
π₯ Next video: youtu.be/m463X1cqV6s?list=PLRqwX-V7Uu6ZV4yEcW3uDwOgGXKUUsPOM
π₯ All videos: youtube.com/playlist?list=PLRqwX-V7Uu6ZV4yEcW3uDwOgGXKUUsPOM
References:
π sin(): p5js.org/reference/#/p5/sin
π cos(): p5js.org/reference/#/p5/cos
π tan(): p5js.org/reference/#/p5/tan
Videos:
π₯ 3.1 Angles and Rotation: youtu.be/DMg-WRfNB60
π₯ Asteroids with p5.js: youtu.be/hacZU523FyM
π₯ Polar Perlin Noise Loops: 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 Heglund
Music from Epidemic Sound
π Website: thecodingtrain.com
πΎ Share Your Creation! thecodingtrain.com/guides/passenger-showcase-guide
π© Suggest Topics: github.com/CodingTrain/Suggestion-Box
π‘ GitHub: github.com/CodingTrain
π¬ Discord: thecodingtrain.com/discord
βͺ Nebula: go.nebula.tv/codingtrain
π Membership: youtube.com/thecodingtrain/join
π Store: standard.tv/codingtrain
ποΈ Twitter: twitter.com/thecodingtrain
πΈ Instagram: instagram.com/the.coding.train
π₯ Coding Challenges: youtube.com/playlist?list=PLRqwX-V7Uu6ZiZxtDDRCi6uhfTH4FilpH
π₯ Intro to Programming: youtube.com/playlist?list=PLRqwX-V7Uu6Zy51Q-x9tMWIv9cueOFTFA
π p5.js: p5js.org
π p5.js Web Editor: editor.p5js.org
π Processing: processing.org
π Code of Conduct: github.com/CodingTrain/Code-of-Conduct
This description was auto-generated. If you see a problem, please open an issue: github.com/CodingTrain/thecodingtrain.com/issues/new
#forbeginners #javascript #p5js
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: thecodingtrain.com/tracks/the-nature-of-code-2/noc/3-angles/4-polar-coordinates
p5.js Web Editor Sketches:
πΉοΈ Basic Polar Coordinates: editor.p5js.org/codingtrain/sketches/DHetsOfgz
πΉοΈ Spiral: editor.p5js.org/codingtrain/sketches/BnJ_4U4cr
πΉοΈ Random Trail: editor.p5js.org/codingtrain/sketches/WqK-qD1vU
πΉοΈ Circular Shape: editor.p5js.org/codingtrain/sketches/s10TQXDZv
π₯ Previous video: youtu.be/oXwCVDXS2Lg?list=PLRqwX-V7Uu6ZV4yEcW3uDwOgGXKUUsPOM
π₯ Next video: youtu.be/m463X1cqV6s?list=PLRqwX-V7Uu6ZV4yEcW3uDwOgGXKUUsPOM
π₯ All videos: youtube.com/playlist?list=PLRqwX-V7Uu6ZV4yEcW3uDwOgGXKUUsPOM
References:
π sin(): p5js.org/reference/#/p5/sin
π cos(): p5js.org/reference/#/p5/cos
π tan(): p5js.org/reference/#/p5/tan
Videos:
π₯ 3.1 Angles and Rotation: youtu.be/DMg-WRfNB60
π₯ Asteroids with p5.js: youtu.be/hacZU523FyM
π₯ Polar Perlin Noise Loops: 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 Heglund
Music from Epidemic Sound
π Website: thecodingtrain.com
πΎ Share Your Creation! thecodingtrain.com/guides/passenger-showcase-guide
π© Suggest Topics: github.com/CodingTrain/Suggestion-Box
π‘ GitHub: github.com/CodingTrain
π¬ Discord: thecodingtrain.com/discord
βͺ Nebula: go.nebula.tv/codingtrain
π Membership: youtube.com/thecodingtrain/join
π Store: standard.tv/codingtrain
ποΈ Twitter: twitter.com/thecodingtrain
πΈ Instagram: instagram.com/the.coding.train
π₯ Coding Challenges: youtube.com/playlist?list=PLRqwX-V7Uu6ZiZxtDDRCi6uhfTH4FilpH
π₯ Intro to Programming: youtube.com/playlist?list=PLRqwX-V7Uu6Zy51Q-x9tMWIv9cueOFTFA
π p5.js: p5js.org
π p5.js Web Editor: editor.p5js.org
π Processing: processing.org
π Code of Conduct: github.com/CodingTrain/Code-of-Conduct
This description was auto-generated. If you see a problem, please open an issue: github.com/CodingTrain/thecodingtrain.com/issues/new
#forbeginners #javascript #p5js










