Menu

Ctrl+Rest: A Sleepy Sloth That Breathes With You (Using Your Webcam)
🖼️

Ctrl+Rest: A Sleepy Sloth That Breathes With You (Using Your Webcam)

DEV Community: angular·Tanya Mott·1 day ago
#wwGw5xNS
#devtoangular#devto#dev#mochi#breathing
Reading 0:00
15s threshold

This is a submission for the Presage SmartSpectra SDK Challenge

What I Built

As a developer, I know we've all been there. The long days, blocked PRs, getting stuck and needing a pause. This is where Ctrl+Rest comes in, when we need to just take a step back and breathe.

Ctrl+Rest is a desktop breathing break with Mochi, a very sleepy sloth. You pick a scene (rain on a cozy window, a sunset beach, or a sunlit forest), and Mochi breathes slowly next to you. If you choose to turn on your camera, a second circle follows your real breathing rate , measured on your own computer with the Presage SmartSpectra SDK, and the whole scene breathes with you:

🌧️ Rain falls on the window and softens as your breathing slows

🌊 Waves slide up the sand when you breathe in and back when you breathe out

🌲 Forest sunlight glows with each breath while leaves drift down

🔊 Calm sounds made in code follow your breath too

🙂 Smile at Mochi and he waves back

😴 Near the end Mochi nods off, falls asleep, and shows how your…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.