Home▸Insomnia & Restless Legs Syndrome▸Melatonin Circadian Timing Simulator (3D)

😴 Melatonin Circadian Timing Simulator (3D)

The same endogenous-rhythm and dose-timing math as the 2D clock, now wound into a real 3D relief coil around a 24-hour cylinder — orbit the camera to inspect the phase shift, dose marker, DLMO and bedtime pillars from any angle.

Insomnia & Restless Legs Syndrome3DIntermediate60 FPS📱 Mobile-adapted⇄ 2D version
3d-melatonin-circadian-timing-simulator ↗ Open standalone
⚙ Under the hood

Same math as the 2D original — an endogenous melatonin curve melatoninLevel(hour) = exp(-(Δh)²/32) peaking near 02:00, the same dose-timing/dose-amount phase-shift model, and the same alignment/recommendation thresholds — rendered as a genuine 3D structure: a tube swept along a CatmullRomCurve3 whose height rises and falls with the melatonin level around a 24-hour ring, instead of a flat polar plot. The dose marker, DLMO reference and target-bedtime marker become 3D pillars you can walk the camera around.

Three.jsWebGLcircadian rhythmmelatoninchronobiology

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

What did you find?

Add reproduction steps (optional)