A real 2 → 4 → 1 network (tanh hidden, sigmoid output) trained live in your browser with online backpropagation. Click the field to place data points, then watch the decision boundary, weights and loss update as it learns. No libraries — just canvas and calculus.
// click: add point of active class
// the network learns 4 random samples per frame (sgd, lr 0.06)