Teach a computer to see β by snapping blocks together.
π Play it now: scratchml.fly.dev π
No code. No math. No accounts. Nothing to install.
ScratchML is a playground where kids, students, and the plain curious build a real machine-learning model the way they'd build with toy blocks:
- π§© Snap a recipe β stack colorful blocks like Scratch: eyes, Things to learn, a brain, a guesser
- πΈ Show examples β snap webcam pictures of each Thingβ¦ or draw them on the sketchpad if you're camera-shy
- π§ Train in seconds β a tiny neural network studies your examples right in the browser
- π Watch it guess β show it something new and see live confidence bars (confetti included)
The whole experience takes about two minutes from blank canvas to "whoa, it learned!" β and it's not a simulation. It's genuine transfer learning running on your own device.
- π¨ Crayon sketchpad β 7 crayons, 3 brush sizes, eraser, undo. Train a model on your doodles; no camera required
- π€ A reactive robot mascot that boots up, thinks while training, and celebrates correct guesses with you
- π Toy-box sounds & music β blocks snap, captures pop, training whooshes, wins go ta-da (toggleable, of course)
- π Real dataset curation, kid-sized β every captured example is a thumbnail you can inspect and delete one by one
- π It sneaks in real ML lessons: more varied examples β smarter model; the model learns whatever separates your examples β including color!
Your camera frames and drawings never leave your browser. There is no upload, no server-side ML, no account, no dataset sitting in a cloud bucket. Close the tab and it's gone.
- MobileNet v2 (self-hosted weights) as a frozen feature extractor + a small trainable head β classic transfer learning, entirely client-side via TensorFlow.js
- Smart backend selection: machines with software-only WebGL automatically fall back to the CPU backend instead of stalling on shader compilation
- The brain pre-loads while you're still reading the landing page β by the time you click Start building, it's ready
- Built with Next.js, TypeScript, Tailwind, dnd-kit, and zustand; sound and art generated with ElevenLabs and OpenAI's image models
- Tested end-to-end with a Playwright suite that actually draws shapes and verifies the model learns them
Created for Mind the Product's "Everyone Ships Now" hackathon β because the best way to celebrate shipping is to ship the thing that makes ML feel like play. #EveryoneShipsNow π’