p5.js Coding Tutorial | Interactive Clock Cursor Effect @pattvira
p5.js Coding Tutorial | Interactive Clock Cursor Effect  @pattvira
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
p5.js Coding Tutorial | Interactive Clock Cursor Effectp5.js Coding Tutorial | Collage (Image Manipulation)p5.js Coding Tutorial | Bubbly Emoji EffectWhat might creative coding look like in the age of AI?p5.js Coding Tutorial | Rotating Polygons on the Major Scale 🎡p5.js Coding Tutorial | Interactive Blobs to Celebrate 1,000 Subs!p5.js Coding Tutorial | Egg-phabet 🍳 (Generative Typography Tool)p5.js Coding Tutorial | Fire-y Ball (Arc Function)p5.js Coding Tutorial | Animated Christmas Lights πŸŽ„p5.js Coding Tutorial |  2D Grid w Nested Loopp5.js Coding Tutorial | Little Creaturesp5.js Coding Tutorial | Interactive Truchet Tiles
Patt Vira |

p5.js Coding Tutorial | Interactive Clock Cursor Effect

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER