Each backward step applies the chain rule layer by layer: δ(l) = (W(l+1))Tδ(l+1) ⋅ σ'(z(l)), then ∂L/∂W(l) = δ(l)(a(l-1))T. Weights update as W ← W − η∂L/∂W. The same math as the 3D version — this view renders it with plain Canvas2D instead of WebGL.