Uploaded September 2024 | Updated November 2026, 1 hour 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
π Pixelated Kaleidoscope Code:
π Interactive: editor.p5js.org/pattvira/sketches/rPDtD84So
π Generative: editor.p5js.org/pattvira/sketches/D_qHKz-jO
π Introduction to Creative Coding Playlist: youtube.com/playlist?list=PL0beHPVMklwgMz4Z-mNp4_udo9mjBk7pn&si=XhvQaojd6cIrxvdn
References:
π @TheCodingTrain 's Coding Challenge 155: Kaleidoscope Snowflake Design: youtube.com/watch?v=R3C2giDfmO8
π @ComputingMasterclass 's Kaleidoscope - p5.js Tutorial: youtube.com/watch?v=KcHqRAM0sEU&t=625s
Timestamps:
0:00 Intro
0:56 Create a 2d array grid to store color information
3:30 Create an interactive kaleidoscope using mouse as input
7:15 Calculate mirror pixels to get a kaleidoscope pattern
10:25 Make it rainbow colors with HSB mode
12:37 Create a generative kaleidoscope using random()
18:32 Experiment with a different color palette
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
π Pixelated Kaleidoscope Code:
π Interactive: editor.p5js.org/pattvira/sketches/rPDtD84So
π Generative: editor.p5js.org/pattvira/sketches/D_qHKz-jO
π Introduction to Creative Coding Playlist: youtube.com/playlist?list=PL0beHPVMklwgMz4Z-mNp4_udo9mjBk7pn&si=XhvQaojd6cIrxvdn
References:
π @TheCodingTrain 's Coding Challenge 155: Kaleidoscope Snowflake Design: youtube.com/watch?v=R3C2giDfmO8
π @ComputingMasterclass 's Kaleidoscope - p5.js Tutorial: youtube.com/watch?v=KcHqRAM0sEU&t=625s
Timestamps:
0:00 Intro
0:56 Create a 2d array grid to store color information
3:30 Create an interactive kaleidoscope using mouse as input
7:15 Calculate mirror pixels to get a kaleidoscope pattern
10:25 Make it rainbow colors with HSB mode
12:37 Create a generative kaleidoscope using random()
18:32 Experiment with a different color palette










