Skip to Content
✨ SPARK Membership
Learning
New to Coding? START HERE
Coding Tutorials
Creative Coding Math
Newsletter
About
Patt Vira
Login Account
0
0
✨ SPARK Membership
Learning
New to Coding? START HERE
Coding Tutorials
Creative Coding Math
Newsletter
About
Patt Vira
Login Account
0
0
✨ SPARK Membership
Folder: Learning
Back
New to Coding? START HERE
Coding Tutorials
Creative Coding Math
Newsletter
About
Login Account

Mouse-following Dials

  • Interactivity,
  • All,

🔗 Code Example: Mouse-Following Dials

🔗 Timestamps:

  • 0:28 Creating a dial (without OOP)

  • 5:26 Creating a Dial Class

  • 7:47 Creating a Dial Object

🔗 References:

  • Object-Oriented Programming - Creative Coding with p5.js

  • Array of Objects - Creative Coding with p5.js

  • Article on atan vs atan2 functions

Previous

Mouse - Grid Interaction

Next

Interactive Grid with Mouse Location

You Might Also Like

Related Embedded Video Item Thumbnail 2D Grid w Nested Loop
Related Embedded Video Item Thumbnail Tic Tac Toe
Related Embedded Video Item Thumbnail Wavy Letter T
Related Embedded Video Item Thumbnail Fireworks
Related Embedded Video Item Thumbnail Interactive Display with Rotating Blocks
I recently visited a botanical garden, saw this very sign, and really wanted to share.

🌸 ‘To Plant a Garden is to Believe in Tomorrow’ beautifully resonates with the creative coding work I do. Just as planting a seed is a simple act wit
“It’s much easier to determine what is working after you have already done some things than to predict what will work before you have done anything.” — James Clear

I made it through year ONE of making consistent content on th
Follow @pattvira