Patt Vira | p5.js Coding Tutorial | Moving Stars @pattvira | Uploaded July 2023 | Updated October 2024, 7 hours ago.
Links
π p5.js editor: editor.p5js.org
π Moving Stars Code: editor.p5js.org/pattvira/sketches/PDpD1UL2b
π Trigonometry and Polar Coordinates Tutorial: youtu.be/ehiremnxFAs
Timestamps:
0:00 Intro
0:10 Creating a Star class
3:39 Creating 12 outer star objects
6:39 Creating 3 inner star objects
9:31 Moving inner stars
10:49 Connecting inner with outer stars
Links
π p5.js editor: editor.p5js.org
π Moving Stars Code: editor.p5js.org/pattvira/sketches/PDpD1UL2b
π Trigonometry and Polar Coordinates Tutorial: youtu.be/ehiremnxFAs
Timestamps:
0:00 Intro
0:10 Creating a Star class
3:39 Creating 12 outer star objects
6:39 Creating 3 inner star objects
9:31 Moving inner stars
10:49 Connecting inner with outer stars