Home▸Physics & Mechanics▸String Lights Catenary Sag (2D)

💡 String Lights Catenary Sag (2D)

A real catenary y = a·cosh(x/a) drapes a string of light bulbs between two posts: drag the tension slider to see the sag equation reshape the curve live, and switch the bulbs between twinkle, chase, fade and solid patterns.

Physics & Mechanics2DEasy60 FPS📱 Mobile-adapted⇄ 3D version
2d-3d-string-lights ↗ Open standalone
⚙ Under the hood

A real catenary y = a·cosh(x/a) drapes a string of light bulbs between two posts in flat side profile: drag the tension slider and watch the sag equation reshape the curve and live max-sag/arc-length readouts in real time, adjust post spacing and bulb count, and switch the bulbs between twinkle, chase, fade and solid lighting patterns.

Catenary CurveCanvas 2DString LightsHyperbolic Cosine

2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)