Home▸AI & Machine Learning▸Gradient Descent Lab — Watch a Ball Roll Down a Loss Surface

📉 Gradient Descent Lab — Watch a Ball Roll Down a Loss Surface

Drop a marker onto a bumpy loss surface and watch gradient descent walk downhill step by step — crank the learning rate too high and watch it overshoot and diverge.

AI & Machine Learning3DModerate60 FPS📱 Mobile-adapted
gradient-descent-lab ↗ Open standalone
⚙ Under the hood

Drop a marker onto a bumpy loss surface and watch gradient descent walk downhill step by step — crank the learning rate too high and watch it overshoot and diverge.

gradient descentoptimizationmachine learningloss functionneural networksalgorithmsThree.js

3D · Three.js / WebGL renderer · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)