3.4 Polar Coordinates - The Nature of Code
44.9 هزار بار بازدید -
4 سال پیش
-
It’s finally time to dive
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…
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: • 3.3: Angles and Vectors - Nature of Code
🎥 Next video: • 3.5 Simple Harmonic Motion - Nature o...
🎥 All videos: • The Nature of Code
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: • 3.1 Angles and Rotation - Nature of Code
🎥 Asteroids with p5.js: • Coding Challenge #46.1: Asteroids wit...
🎥 Polar Perlin Noise Loops: • Coding Challenge #136.1: Polar Perlin...
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: www.instagram.com/the.coding.train/
🎥 Coding Challenges: • Coding Challenges
🎥 Intro to Programming: • Start learning here!
🔗 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/n…
#forbeginners #javascript #p5js
4 سال پیش
در تاریخ 1399/11/18 منتشر شده
است.
44,908
بـار بازدید شده