3.1 Angles and Rotation - Nature of Code
Welcome to Chapter 3 of The Nature of Code: Oscillating Motion! I begin in this video by explaining angles, the different units of measurements for angles: degrees and radians, and how to rotate shapes in p5.js. Code: https://thecodingtrain.com/tracks/the-nature-of-code-2/noc/3-angles/1-angles-and-rotation
πΉοΈ p5.js Web Editor Sketch: https://editor.p5js.org/codingtrain/sketches/y7ieDesyd
π₯ Previous video: https://youtu.be/GjbKsOkN1Oc?list=PLRqwX-V7Uu6ZV4yEcW3uDwOgGXKUUsPOM
π₯ Next video: https://youtu.be/i2ROE_mAhU0?list=PLRqwX-V7Uu6ZV4yEcW3uDwOgGXKUUsPOM
π₯ All videos: https://www.youtube.com/playlist?list=PLRqwX-V7Uu6ZV4yEcW3uDwOgGXKUUsPOM
References:
π Tau: https://p5js.org/reference/#/p5/TAU
Videos:
π₯ Transformations (Translate, Rotate, Push/Pop) - Part 1: https://youtu.be/o9sgjuh-CBM
Timestamps:
0:00 Hello!
0:25 Angles
1:32 Units of measurement for an angle
2:02 Radians
3:32 Why is pi so important?
5:13 Rotate by 90 degrees
6:36 angleMode(DEGREES);
7:26 Let's use radians
8:56 Rotation direction
10:32 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
π¬ Discord: https://thecodingtrain.com/discord
βͺ Nebula: https://go.nebula.tv/codingtrain
π Membership: http://youtube.com/thecodingtrain/join
π Store: https://standard.tv/codingtrain
ποΈ Twitter: https://twitter.com/thecodingtrain
πΈ Instagram: https://www.instagram.com/the.coding.train/
π₯ Coding Challenges: https://www.youtube.com/playlist?list=PLRqwX-V7Uu6ZiZxtDDRCi6uhfTH4FilpH
π₯ Intro to Programming: https://www.youtube.com/playlist?list=PLRqwX-V7Uu6Zy51Q-x9tMWIv9cueOFTFA
π p5.js: https://p5js.org
π p5.js Web Editor: https://editor.p5js.org/
π Processing: https://processing.org
π Code of Conduct: https://github.com/CodingTrain/Code-of-Conduct
This description was auto-generated. If you see a problem, please open an issue: https://github.com/CodingTrain/thecodingtrain.com/issues/new
#forbeginners #javascript #p5js
Other Videos By The Coding Train
2021-02-22 | Coding Challenge #160: Spring Forces |
2021-02-20 | Coding Challenge #159: Simple Pendulum Simulation |
2021-02-16 | 3.7: Additive Waves - The Nature of Code |
2021-02-13 | Coding Train Live: Self-Avoiding Walk and Discord bot |
2021-02-12 | 3.6 Graphing Sine Wave - Nature of Code |
2021-02-07 | 3.5 Simple Harmonic Motion - Nature of Code |
2021-02-06 | Coding Train Live! |
2021-02-06 | 3.4 Polar Coordinates - The Nature of Code |
2021-02-02 | 3.3: Angles and Vectors - Nature of Code |
2021-01-29 | 3.2 Angular Motion - Nature of Code |
2021-01-26 | 3.1 Angles and Rotation - Nature of Code |
2021-01-23 | Coding Train Live! |
2021-01-16 | 2021 Choo Choo! |
2021-01-15 | Discord Bots 6: Building a Command Handler |
2021-01-08 | 2021 Choo Choo! |
2020-12-23 | Processing Foundation Holiday Telethon 2020 |
2020-12-17 | Winter Show 2020 (ITP/IMA/IMA Low Res) |
2020-12-17 | Discord Bots 5: Posting GIFs |
2020-12-12 | Advent of Code (Side Project Saturday!) |
2020-12-09 | ml5.js: Classifying Drawings with DoodleNet |
2020-12-05 | Side Project Saturday! |