matrix-decomposition

← ~/visualizations

matrix-decomposition #

Visualizes matrix factorization by fading between LU (A = L·U, with an optional P pivot hint) and QR (A = Q·R with QᵀQ = I). Animated cell sweeps suggest the stepwise construction of factors, and the bottom pipeline shows how solving A x = b reduces to simple forward/back triangular solves (LU) or projection + backsolve (QR).

canvasclick to interact

⏮◀◀▶▶STEP0.25x1xZOOM

t=0s

practical uses #

technical notes #

Pure Canvas2D, time-based 4s cycle. Matrices are 4×4 blocky grids with triangular masks; values are deterministic pseudo-random fills for texture (not computed decompositions). Uses responsive scale = min(w,h)/240 and pixel/grid snapping for a retro aesthetic; easing controls sweeps and cross-fades.

← computational-complexity-theorycurse-of-dimensionality →