matmul -- C = A · B (the GEMM atom)

A neural network layer is, underneath, a grid of numbers multiplied by another grid of numbers. Each cell of the answer is built by walking one row of the first grid against one column of the second, multiplying the pairs and adding them up, and a model thinking is trillions of those little sums. That is why running AI wants a graphics chip rather than an ordinary processor: the work is enormous but wonderfully repetitive, which is exactly what those chips are built for. Understand this one operation and compute cost stops being a mystery.

Interactive page: visualizes matrix multiply as the operation every other mechanism in this collection reduces to. Anchor: foundational primitive (used by every A1-A12 shape; Family A1).

What it shows

C[i,j] = Σ_k A[i,k]·B[k,j]. The three matrices sit in the canonical corner layout -- A bottom-left (m×k), B top-right (k×n), C bottom-right (m×n) -- so output cell C[i,j] lies at the intersection of A's row i and B's column j. Scrub the step transport to watch C fill in: per output cell (the dot product of a row and a column), or per multiply-add term with step per term on. The active row/column/cell are outlined live, and the readout strip shows the running computation.

Render tier

T2 (WebGL2 heatmaps, Canvas2D fallback). The heatmap raster is the only GPU-touching part; A/B/C and all overlays share one Canvas2D surface. Colors come from the shared diverging ramp (0 = the page ground, so a zero cell recedes in either theme), so this page is a witness for the Canvas2D-vs-WebGL2 pixel-identity gate -- run-gate.sh.

Wiring (framework exercise)

First end-to-end page: layout.mount chrome + controls (dim steppers, seed, per-term toggle) + the step Transport walking tensor.matmulSteps, rendered with render.heatmap/cell/label. Source: page.js.