← all demos
Computer & Data Science

Gradient Descent on a Bowl

θ ← θ − η∇J(θ)
Gradient Descent on a Bowl

An optimizer descending a stretched quadratic loss surface: the step overshoots across the narrow valley and spirals inward, converging on the minimum at the origin.

Computed & rendered in pure C# on the frozen OnlyCSharp 1.8 library — animation baked to GIF with the library's own Gif encoder (no GPU, no ffmpeg, no external packages).