Uploaded January 2025 | Updated November 2026, 26 minutes 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
π Habit Tracker - Data Visualization Code: editor.p5js.org/pattvira/sketches/H9ZGHN8od
π Introduction to Creative Coding Playlist: youtube.com/playlist?list=PL0beHPVMklwgMz4Z-mNp4_udo9mjBk7pn&si=XhvQaojd6cIrxvdn
References:
π p5.js p5.Table: p5js.org/reference/p5/p5.Table
π findIndex method: developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/findIndex#syntax
π The Ring of Time by He Yuxuan: whynotdesign.cc/The-Ring-of-Time-Typography-Calendar-2022
Timestamps:
0:00 Intro
0:31 Prepare the data
0:58 Upload and preload data into the sketch
2:06 Learn about the p5.Table class
5:31 Create a dates[] array to store all the year's dates
7:35 Create a runningDates[] array to store matching date indices
12:40 Draw a spiral
19:32 Add ellipses on the spiral using data from runningDates[]
22:46 Final touches
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
π Habit Tracker - Data Visualization Code: editor.p5js.org/pattvira/sketches/H9ZGHN8od
π Introduction to Creative Coding Playlist: youtube.com/playlist?list=PL0beHPVMklwgMz4Z-mNp4_udo9mjBk7pn&si=XhvQaojd6cIrxvdn
References:
π p5.js p5.Table: p5js.org/reference/p5/p5.Table
π findIndex method: developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/findIndex#syntax
π The Ring of Time by He Yuxuan: whynotdesign.cc/The-Ring-of-Time-Typography-Calendar-2022
Timestamps:
0:00 Intro
0:31 Prepare the data
0:58 Upload and preload data into the sketch
2:06 Learn about the p5.Table class
5:31 Create a dates[] array to store all the year's dates
7:35 Create a runningDates[] array to store matching date indices
12:40 Draw a spiral
19:32 Add ellipses on the spiral using data from runningDates[]
22:46 Final touches










