PRISM
Sensory Diet Synthesizer โ Offline Ambient Regulation
01. What It Is
PRISM is a generative ambient environment that adapts to two distinct dysregulation states. Over-stimulated (sensory overload, meltdown approaching): cool tones, slower color gradient, brown noise, slower breathing pace. Under-stimulated (shutdown, flatline, task paralysis): warmer tones, higher frequency noise, slightly faster pace. The user selects their current state. PRISM adjusts without asking for more.
Design Principle
No streaming. No account. No ads. No notifications. PRISM generates everything locally via the Web Audio API โ noise synthesis, binaural beat tone generation, breath pacing oscillators. The entire experience is offline, private, and runs on a 5-year-old mid-range phone. The regulatory tool must be available when regulation is needed most โ when connectivity is disrupted, when data is depleted, when the environment is already hostile.
02. Features
Web Audio API Generative Noise Synthesis
Brown noise, pink noise, white noise, and binaural beat tones (1โ40 Hz differential) synthesized locally via AudioWorklet nodes. No audio files bundled. No streaming. The synthesis is procedural โ it runs continuously, adapting frequency distribution based on the selected arousal state. CPU usage is negligible.
WebGL Gradient Slow-Breathing Color Bath
A full-screen WebGL fragment shader renders a slowly morphing gradient that breathes โ expanding and contracting on a pace matched to the selected state. Over-stimulated: 4-second expand, 8-second contract (down-regulation). Under-stimulated: 3-second expand, 4-second contract (light activation). Never flashes. Always below 30fps. Thermal-safe.
One-Tap State Arousal Dial
A single vertical slider โ bottom is "depleted / shutdown," top is "overwhelmed / overloaded," center is regulated. Drag once. PRISM adjusts everything: noise type, binaural beat frequency, gradient speed, breathing pace. No menus. No settings screens. One gesture to enter the correct environment.
Timer Soft Session End
Optional session timer (5 / 10 / 20 minutes). As the timer approaches zero, the gradient very slowly brightens and the noise gently fades โ a physiological "waking up" rather than a jarring alarm. No buzz. No popup. The environment breathes you back out.