3.1 Angles and Rotation - Nature of Code @TheCodingTrain
3.1 Angles and Rotation - Nature of Code  @TheCodingTrain
Uploaded January 2021 | Updated November 2026, 10 hours ago
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: thecodingtrain.com/tracks/the-nature-of-code-2/noc/3-angles/1-angles-and-rotation

πŸ•ΉοΈ p5.js Web Editor Sketch: editor.p5js.org/codingtrain/sketches/y7ieDesyd

πŸŽ₯ Previous video: youtu.be/GjbKsOkN1Oc?list=PLRqwX-V7Uu6ZV4yEcW3uDwOgGXKUUsPOM
πŸŽ₯ Next video: youtu.be/i2ROE_mAhU0?list=PLRqwX-V7Uu6ZV4yEcW3uDwOgGXKUUsPOM
πŸŽ₯ All videos: youtube.com/playlist?list=PLRqwX-V7Uu6ZV4yEcW3uDwOgGXKUUsPOM

References:
πŸ”— Tau: p5js.org/reference/#/p5/TAU

Videos:
πŸŽ₯ Transformations (Translate, Rotate, Push/Pop) - Part 1: 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: 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
3.1 Angles and Rotation - Nature of CodeBack to School on the Coding TrainIn Search of Algorithms? Q&A 1.2 #shortsCoding Challenge 161: Estimating Ο€ from Random Numbers with Euclids AlgorithmCoding Train Live:  Riding the Oregon Trail 1Coding Train Live: Self-Avoiding Walk and Discord botCoding with Processing Release 0001 Alpha   Happy 20th!Coding Challenge 172: Horizontal Directional DrillingNo palettes! #genuary #genuary2Discord Bots 4: Hiding API Keys with .envCoding Challenge 179: Elementary Cellular Automata2.6 Mutual Attraction - The Nature of Code
The Coding Train |

3.1 Angles and Rotation - Nature of Code

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER