Uploaded July 2025 | 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
π Interactive Clock Cursor Effect Code: editor.p5js.org/pattvira/sketches/MMM01FuIv
π Introduction to Creative Coding Playlist: youtube.com/playlist?list=PL0beHPVMklwgMz4Z-mNp4_udo9mjBk7pn&si=XhvQaojd6cIrxvdn
Inspiration:
π Tim Holman's 90's Cursor Effects: tholman.com/cursor-effects
References:
π Current Time Built-in Functions:
π hour() - p5js.org/reference/#/p5/hour
π minute() - p5js.org/reference/#/p5/minute
π second() - p5js.org/reference/#/p5/second
Timestamps:
0:00 Intro
0:30 Draw a ring of text string
6:08 Add movement to the ring using lerp()
12:04 Add date and time information as the text strings
24:09 Add the clock hands
37:58: Add colors
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
π Interactive Clock Cursor Effect Code: editor.p5js.org/pattvira/sketches/MMM01FuIv
π Introduction to Creative Coding Playlist: youtube.com/playlist?list=PL0beHPVMklwgMz4Z-mNp4_udo9mjBk7pn&si=XhvQaojd6cIrxvdn
Inspiration:
π Tim Holman's 90's Cursor Effects: tholman.com/cursor-effects
References:
π Current Time Built-in Functions:
π hour() - p5js.org/reference/#/p5/hour
π minute() - p5js.org/reference/#/p5/minute
π second() - p5js.org/reference/#/p5/second
Timestamps:
0:00 Intro
0:30 Draw a ring of text string
6:08 Add movement to the ring using lerp()
12:04 Add date and time information as the text strings
24:09 Add the clock hands
37:58: Add colors










