P5 Sketch Link: https://editor.p5js.org/my3037/full/_yVp2SasM
This project is an interactive real-time trainer that combines p5.js (for creative visuals and interaction) with ml5.js (for machine learning in the browser).
It lets you:
You can even use mic loudness and device orientation as extra inputs — making the system responsive to gestures, sound, and motion at once.
Capture Input Data → hand keypoints, mic level, and orientation.
Add Labels or RGB Targets → decide what the model should learn.
Train the Neural Network → ml5 normalizes and learns from samples.
Predict in Real Time → the trained model outputs a label or RGB values.
Visualize the Result → the output drives background color or shapes.
