Guided Breathing Exercise Tool
Follow guided breathing patterns like 4-7-8 breathing, box breathing, and custom intervals with a calming visual animation.
Runs in your browser. No data leaves your device.
Frequently Asked Questions
How does the Breath Pacer work?
The tool runs a requestAnimationFrame loop that tracks elapsed time against the configured phase durations (e.g., 4s inhale, 7s hold, 8s exhale). A CSS animation or canvas-drawn circle expands during inhale and contracts during exhale, synchronized to the timer. Phase transitions are detected by comparing accumulated time against phase boundaries, cycling through the sequence for the configured number of rounds.
What is 4-7-8 breathing?
A relaxation technique where you inhale for 4 seconds, hold for 7 seconds, and exhale for 8 seconds. It activates the parasympathetic nervous system and is commonly used to reduce anxiety and help with falling asleep.
What is box breathing?
A technique where each phase (inhale, hold, exhale, hold) is equal in duration, typically 4 seconds each. It is used by the military and first responders to stay calm under pressure.
Can I create a custom breathing pattern?
Yes. Set your own durations for inhale, hold, and exhale phases to create a personalized breathing exercise that works for you.