fig. 01 — a small convolutional experiment

SketchNet

A tiny neural network that you teach by doodling. Draw a shape, label it, add samples, train. It runs entirely in your browser with TensorFlow.js — no server, no cloud, just warm silicon.

TF.js —
Backend —
Model untrained
Canvas · draw here256 × 256 → 32 × 32
32×32 RGBA → L grayscale normalized
brush 14
Predictionsdraw + train first
tensor [1, 32, 32, 1]
range 0.0 — 1.0
samples 0
params —
guess
—
confidence —
Train the Net
idle — collect at least 3 samples per class, then train.
Shortcuts — 1–4 pick class · space add sample · C clear · T train · R reset net. Train signal travels fastest when classes have similar sample counts. Drawings can be messy — that's the point.