Shows how a kernel function k(x,x') replaces explicit inner products <phi(x),phi(x')> to operate in an implicit feature space. The animation alternates between (1) selecting two input points A,B and evaluating similarity via k(A,B) instead of computing phi, and (2) constructing a small Gram matrix and checking positive-semidefiniteness to illustrate Mercer’s condition for valid kernels.
Pure Canvas2D, grid-snapped blocky drawing with green-on-black palette. Uses time-based phases (4.2s cycle) and an animated scan to depict Gram-matrix construction. Demonstrates PSD vs non-PSD by toggling between an RBF kernel (valid) and an intentionally indefinite similarity (RBF minus constant) and checks PSD via principal minors of a 3x3 Gram matrix.