Relaxing path (numerical) Analytic cycloid
⚠ Couldn't load the 3D engineThree.js failed to load from the CDN. Check your connection and reload.

Brachistochrone Gradient Flow

Instead of racing pre-named curves against each other, this simulation solves the brachistochrone problem the way calculus of variations actually works: it discretizes the descent-time functional T[y] over a free path of movable points, computes its numerical gradient, and lets steepest descent relax an arbitrary guessed curve — straight, bulged, or zigzagged — step by step into the true minimum-time path. A dashed overlay of the closed-form cycloid solution, refit live as you move the endpoint, lets you watch the gap between guess and optimum close in real time, with the functional's value and an RMS convergence readout tracking the process exactly as an optimizer would.