CBT-I Sleep Restriction Titration Simulator (2D)
A 2D timeline chart of a prescription digital therapeutic for chronic insomnia: a two-process homeostatic sleep-pressure model computes night-by-night sleep efficiency, a real CBT-I titration rule widens or narrows the prescribed time-in-bed window every week, and you can drag to pan and scroll to zoom the night-by-night bar chart.
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. This 2D edition renders the same night-by-night history as a pannable, zoomable bar-chart timeline instead of a 3D helix.
A 2D timeline chart of a prescription digital therapeutic for chronic insomnia: a two-process homeostatic sleep-pressure model computes night-by-night sleep efficiency, a real CBT-I titration rule widens or narrows the prescribed time-in-bed window every week, and you can drag to pan and scroll to zoom the night-by-night bar chart.
2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install