Visualizes a small computational graph where each node is an operation f(…) and each directed edge carries a tensor/value. The animation alternates between a forward pass (values move left→right through the graph) and a backward pass (gradients d/dx propagate right→left along the same dependencies), illustrating reverse-mode autodiff (backprop) via the chain rule.
Pure Canvas2D drawing with a snapped grid for a blocky aesthetic. Edges are drawn as elbow arrows; value-flow uses solid arrows and gradient-flow uses dashed arrows. A timed 4.2s cycle highlights one edge at a time and animates a square packet along it; the active pass changes text/opacity to emphasize forward vs backward propagation.