⛰️ Heavy-Ball Momentum Contour Map: Gradient Descent Against Momentum (2D)
2D Canvas companion of the heavy-ball momentum lab: contour map of an ill-conditioned quadratic with live gradient-descent and heavy-ball paths, exact spectral radius, Polyak optimal parameters and stability boundary. Same maths as the 3D version; Blender-rendered sprites.
⚙ Under the hood
2D Canvas companion of the heavy-ball momentum lab: contour map of an ill-conditioned quadratic with live gradient-descent and heavy-ball paths, exact spectral radius, Polyak optimal parameters and stability boundary. Same maths as the 3D version; Blender-rendered sprites.
gradient descentmomentumheavy ballcondition numberspectral radius2D
2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install