Machine Learning for Web Week 2: KNN Classification

For this week’s assignment, I decided to train my model to recognize a pair of custom gestures to start and stop a flow of “fairy dust” and magical sounds.

I built off of two examples: KNNClassification_VideoSquare and the Particle System example from the p5.js reference.

Users can train the model to “start” and “stop” the magic. I suggest two gestures to do so, but any sufficiently distinct classes will work.

The code is here.

Caroline NeelComment