Home▸Biology & Life▸2D Neural Network — Backpropagation on a Flat Canvas

2D Neural Network — Backpropagation on a Flat Canvas

A flat 2D neural network trainer: real matrix forward passes, real chain-rule backpropagation and real gradient descent on XOR, circle or spiral data, drawn as a plain top-down diagram with weight lines, node activations and a live loss curve — no camera, no WebGL.

Biology & Life2DModerate60 FPS📱 Mobile-adapted⇄ 3D version
2d-neural-network ↗ Open standalone

This is the flat, top-down companion to the 3D Neural Network — Backpropagation simulator. It runs the exact same real matrix forward pass, chain-rule backpropagation and gradient descent on XOR, circle or spiral data, but draws the network and decision boundary as plain flat 2D canvas shapes — no camera, no WebGL, no rotation.

⚙ Under the hood

A flat 2D neural network trainer: real matrix forward passes, real chain-rule backpropagation and real gradient descent on XOR, circle or spiral data, drawn as a plain top-down diagram with weight lines, node activations and a live loss curve — no camera, no WebGL.

neural networkbackpropagationgradient descentmachine learningxor problemsigmoid2d canvas

2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)