Nelder–Mead Simplex Optimization
Watch the Nelder–Mead downhill simplex algorithm hunt for a minimum on a real 3D loss landscape: reflect, expand, contract and shrink a moving triangle of trial points without ever computing a derivative.
Optimization theory studies how to find the input that minimizes (or maximizes) a function, and not every real cost function is smooth enough to differentiate. This simulator renders a real 3D loss landscape — Himmelblau's function, the Rastrigin function, or a simple convex bowl — and drives a genuine Nelder–Mead downhill simplex search across it: a triangle of three trial points repeatedly reflects, expands, contracts and shrinks based only on comparing function values, exactly as the classic derivative-free algorithm defines it. Switch landscapes to see the same rule set converge quickly on a smooth bowl yet stall in a local dip on a rippled multi-modal surface, step through iterations one at a time, or let it run and watch the live iteration count, simplex size and best value converge.
Watch a genuine Nelder–Mead downhill simplex algorithm hunt for a minimum on a real 3D loss landscape, reflecting, expanding, contracting and shrinking a moving triangle of trial points without ever computing a derivative.
3D · Three.js / WebGL renderer · 60 FPS target · runs fully client-side, no install