Interactive Fridge Magnets (with ml5.js)

🔗 Code Example: Interactive Fridge Magnets

🔗 Credits:

🔗 References:

🔗 Timestamps:

  • 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

Previous

Interactive Bridge with Bouncing Balls (matter.js + ml5.js)