HomeDigital Therapeutics (DTx) App EfficacyCBT-I Sleep Restriction Titration Simulator

CBT-I Sleep Restriction Titration Simulator

Simulate a prescription digital therapeutic for chronic insomnia: a two-process homeostatic sleep-pressure model drives night-by-night sleep efficiency, and a real CBT-I titration algorithm widens or narrows the prescribed time-in-bed window week by week.

Digital Therapeutics (DTx) App Efficacy3DModerate60 FPS
medicine-topic-11 ↗ Open standalone

Prescription digital therapeutics for chronic insomnia deliver cognitive behavioral therapy — including sleep-restriction titration — through software rather than a clinic visit, and this simulator models the exact closed loop that drives one: a two-process homeostatic sleep-pressure model determines how long a virtual patient takes to fall asleep and how much of a restricted time-in-bed window becomes real sleep, and after every simulated week the app's own titration algorithm reads the average sleep efficiency and widens, narrows, or holds the prescribed window, exactly as an FDA-cleared CBT-I app does from real sleep-diary data.

⚙ Under the hood

Simulate a prescription digital therapeutic for chronic insomnia: a two-process homeostatic sleep-pressure model drives night-by-night sleep efficiency, and a real CBT-I titration algorithm widens or narrows the prescribed time-in-bed window week by week.

digital therapeuticsinsomniaCBT-Isleep medicinebehavioral healthFDA-cleared apps

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

What did you find?

Add reproduction steps (optional)