Sensor
Web Bluetooth requires Chrome/Edge on https:// or localhost, and a device that's paired/awake (tap the Polar H10 to wake it).
Live metrics
Tachogram: beat-to-beat (RR) interval, most recent on the right.
Ocean
Jellyfish color blends blue (calm) → red (stressed) with the calm score, drift speed rises with stress, and each bell pulses in time with BPM — kicking in sync with the same heartbeat that triggers the audio pulse. Both styles read the same live metrics.
Audio (Tone.js)
The pad's brightness & reverb follow RMSSD; its chord blends between a calm and tense voicing based on the calm score. Each beat triggers a short pulse.
Test signal (no sensor needed)
Generates synthetic heartbeats through the same HRV & audio pipeline as a real sensor — slide toward "stressed" for a faster rate and lower variability (lower HRV), toward "relaxed" for the opposite. Handy for hearing the audio mapping without a Polar H10 on hand.