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

Tic Tac Toe

Next

Array of Bouncing Balls (OOP)

You Might Also Like

Related Embedded Video Item Thumbnail Pacman-Inspired Animation
Related Embedded Video Item Thumbnail Chaos Game
Related Embedded Video Item Thumbnail Bouncing Ball
Related Embedded Video Item Thumbnail Interactive Vinyl Cover (Image Masking)
Related Embedded Video Item Thumbnail Optical Illusion with Sound 🎵
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