Isoperimetric Flow: Why the Circle Wins
Interactive calculus-of-variations simulator: watch a closed curve evolve under a length-preserving gradient flow, growing its enclosed area step by step until it settles on the one shape calculus proves is optimal — the circle.
Of every closed loop with a given perimeter, the circle is the only one that maximizes the area it encloses — a result the calculus of variations proves by showing that a curve of constant curvature is the unique stationary point of the area functional under a fixed-length constraint. This simulator makes that proof visible: a closed polygon of adjustable resolution evolves under the exact gradient flow implied by the Euler–Lagrange condition, each vertex sliding along its outward normal by an amount proportional to how far its local curvature departs from the circle's constant curvature, while the total perimeter is held fixed at every step. Watch a jagged star, a blob, a square or an ellipse relax into a near-perfect circle as the isoperimetric ratio 4πA/L² climbs toward its theoretical ceiling of 1, with live readouts of perimeter, area and the curvature deviation that drives the flow.
Watch a closed curve evolve under a length-preserving gradient flow derived from the Euler-Lagrange condition of the isoperimetric problem, growing its enclosed area until it settles on the one shape calculus proves is optimal: the circle.
3D · Three.js / WebGL renderer · 60 FPS target · runs fully client-side, no install