P5 sketch: https://editor.p5js.org/my3037/full/_s5tvJV0U

This project uses p5.js and ml5.js to create an interactive doodling interface powered by Google’s DoodleNet machine learning model. The user can draw freely on a 280×280 px canvas using a brush or eraser and then classify their sketch to see what the model predicts.

When the “Classify” button is pressed, the DoodleNet model analyzes the drawing in real-time and outputs the most likely label along with a confidence percentage, which is also displayed as a visual bar. Users can clear the canvas (R key) or save their doodle as an image file.

Screenshot 2025-10-30 at 9.51.07 PM.png

Screenshot 2025-10-30 at 9.51.38 PM.png