Patt Vira | p5.js Coding Tutorial | Oscillating Sphere @pattvira | Uploaded March 2024 | Updated October 2024, 7 hours ago.
LET'S CONNECT
β¨ Sign up for my newsletter at pattvira.com
β¨ Instagram: instagram.com/pattvira
β¨ Twitter: twitter.com/pattvira
--
Links:
π p5.js editor: editor.p5js.org
π Oscillating Sphere Code: editor.p5js.org/pattvira/sketches/R2QG09tjC
π Introduction to Creative Coding Playlist: youtube.com/playlist?list=PL0beHPVMklwgMz4Z-mNp4_udo9mjBk7pn&si=XhvQaojd6cIrxvdn
Related Video:
π Creative Coding Math - Oscillation: youtu.be/CIl8xSg3HbA
π Coding Tutorial - Oscillating Waves: youtu.be/nqvJDkKsYYI
π Coding Tutorial - Beautiful Trigonometry: youtu.be/KUXShW3C9rs
Reference:
π Charlie Deck's version: bigblueboo.tumblr.com/image/146064480629
Timestamps:
0:00 Intro
0:21 Create an oscillating wave
5:08 Create a Wave class
6:57 Create multiple wave objects
7:53 Put a distance between each wave
9:37 Oscillate the shift variable using a simple harmonic equation
11:16 Experiment!
LET'S CONNECT
β¨ Sign up for my newsletter at pattvira.com
β¨ Instagram: instagram.com/pattvira
β¨ Twitter: twitter.com/pattvira
--
Links:
π p5.js editor: editor.p5js.org
π Oscillating Sphere Code: editor.p5js.org/pattvira/sketches/R2QG09tjC
π Introduction to Creative Coding Playlist: youtube.com/playlist?list=PL0beHPVMklwgMz4Z-mNp4_udo9mjBk7pn&si=XhvQaojd6cIrxvdn
Related Video:
π Creative Coding Math - Oscillation: youtu.be/CIl8xSg3HbA
π Coding Tutorial - Oscillating Waves: youtu.be/nqvJDkKsYYI
π Coding Tutorial - Beautiful Trigonometry: youtu.be/KUXShW3C9rs
Reference:
π Charlie Deck's version: bigblueboo.tumblr.com/image/146064480629
Timestamps:
0:00 Intro
0:21 Create an oscillating wave
5:08 Create a Wave class
6:57 Create multiple wave objects
7:53 Put a distance between each wave
9:37 Oscillate the shift variable using a simple harmonic equation
11:16 Experiment!