Uploaded May 2024 | Updated November 2026, 3 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
π Binary Clock Code: editor.p5js.org/pattvira/sketches/tl7W8xMmp
π Introduction to Creative Coding Playlist: youtube.com/playlist?list=PL0beHPVMklwgMz4Z-mNp4_udo9mjBk7pn&si=XhvQaojd6cIrxvdn
Timestamps:
0:00 Intro
1:37 Use hour(), minute(), and second() to get current time
2:27 Write a function to convert from decimal to binary
10:45 Convert current time from decimal to binary
12:27 Draw clock
15:44 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
π Binary Clock Code: editor.p5js.org/pattvira/sketches/tl7W8xMmp
π Introduction to Creative Coding Playlist: youtube.com/playlist?list=PL0beHPVMklwgMz4Z-mNp4_udo9mjBk7pn&si=XhvQaojd6cIrxvdn
Timestamps:
0:00 Intro
1:37 Use hour(), minute(), and second() to get current time
2:27 Write a function to convert from decimal to binary
10:45 Convert current time from decimal to binary
12:27 Draw clock
15:44 Final touches










