p5.js Coding Tutorial | Interactive Fridge Magnets (with ml5.js - handPose) @pattvira
p5.js Coding Tutorial | Interactive Fridge Magnets (with ml5.js - handPose)  @pattvira
Uploaded July 2024 | Updated November 2026, 2 days 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 Fridge Magnets Code: editor.p5js.org/pattvira/sketches/f3nZuIPZi
πŸ”— Introduction to Creative Coding Playlist: youtube.com/playlist?list=PL0beHPVMklwgMz4Z-mNp4_udo9mjBk7pn&si=XhvQaojd6cIrxvdn

Credits:
πŸ”— Magnet Poetry by Lea Naisberg: instagram.com/p/C8xXy0NR_IJ/?img_index=1

References:
πŸ”— ml5.js: ml5js.org

Timestamps:
0:00 Intro
0:20 ml5.js - machine learning library for the web
1:04 Intro to handPose() model
9:43 Get thumb and index finger locations
11:13 Create one magnet
17:38 Create a Magnet class
21:47 Make it interactive with mouse location
25:36 Combine ml5.js and magnet sketches
26:53 Make it interactive with fingers' location
p5.js Coding Tutorial | Interactive Fridge Magnets (with ml5.js - handPose)p5.js Coding Tutorial | Valentines Day Specials πŸ’–πŸ’• (w ml5.js)p5.js Coding Tutorial | Quadtree 🌴 (how not to crash your program w +1,000 colliding particles!)p5.js Coding Tutorial | Rotating Type (Kinetic Typography)p5.js Coding Tutorial | Rose-shaped Spiral 🌹How I learned web dev using AI as a learning partnerp5.js Coding Tutorial | A Shattered Heart πŸ’” (with matter.js)p5.js Coding Tutorial | Music Visualization with FFT 🎡p5.js Coding Tutorial | Oscillating Wave Pattern (in 3D)p5.js Coding Tutorial |  Tic Tac Toep5.js Coding Tutorial | Intro to OpenType.js (Kinetic Typography)p5.js Coding Tutorial | Truchet Tiles
Patt Vira |

p5.js Coding Tutorial | Interactive Fridge Magnets (with ml5.js - handPose)

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER