<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Caleb Akomaye</title>
    <description>The latest articles on DEV Community by Caleb Akomaye (@caleb_akomaye).</description>
    <link>https://dev.to/caleb_akomaye</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F1940108%2F2fa99e7f-4dc3-40b0-9c58-d5d7a4baac39.png</url>
      <title>DEV Community: Caleb Akomaye</title>
      <link>https://dev.to/caleb_akomaye</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/caleb_akomaye"/>
    <language>en</language>
    <item>
      <title>mochi. — a daily pause for stillness</title>
      <dc:creator>Caleb Akomaye</dc:creator>
      <pubDate>Sun, 22 Nov 2026 06:13:34 +0000</pubDate>
      <link>https://dev.to/caleb_akomaye/mochi-a-daily-pause-for-stillness-cbc</link>
      <guid>https://dev.to/caleb_akomaye/mochi-a-daily-pause-for-stillness-cbc</guid>
      <description>&lt;p&gt;&lt;em&gt;This is a submission for the &lt;a href="https://dev.to/challenges/presage-2026-11-04"&gt;Presage SmartSpectra SDK Challenge&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  What I Built
&lt;/h2&gt;

&lt;p&gt;We spend most of our days staring at screens, forgetting to breathe, while our heart rates quietly spike over broken code or endless feeds. I wanted to build something that pushes back against that.&lt;/p&gt;

&lt;p&gt;Instead of another dashboard throwing medical charts or stress graphs at you, I wanted to see if contactless sensing could feel soft, playful, and human.&lt;/p&gt;

&lt;p&gt;Meet &lt;strong&gt;Mochi (&lt;code&gt;mochi.&lt;/code&gt;)&lt;/strong&gt;—a quiet little web companion that just wants you to pause and be still.&lt;/p&gt;

&lt;p&gt;Using the Presage SmartSpectra SDK, Mochi reads your vitals right through your webcam. No wearables, no Apple Watch, just you and your browser. It invites you to take a daily stillness break by waking up to your heartbeat, syncing its breathing to yours, and logging your daily streaks without ever sending an annoying push notification.&lt;/p&gt;

&lt;h2&gt;
  
  
  Demo
&lt;/h2&gt;

&lt;p&gt;  &lt;iframe src="https://www.youtube.com/embed/3N6DoIe0tjQ" width="710" height="399"&gt;
  &lt;/iframe&gt;
&lt;/p&gt;

&lt;p&gt;&lt;em&gt;(Direct video link: &lt;a href="https://youtu.be/3N6DoIe0tjQ" rel="noopener noreferrer"&gt;https://youtu.be/3N6DoIe0tjQ&lt;/a&gt;)&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;(UI &amp;amp; Consent Flow preview: &lt;a href="https://mochi-mind-psi.vercel.app/" rel="noopener noreferrer"&gt;https://mochi-mind-psi.vercel.app/&lt;/a&gt; — live native Presage SmartSpectra sensing runs locally with &lt;code&gt;SMARTSPECTRA_API_KEY&lt;/code&gt;; see the demo video and README setup below.)&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Code
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://github.com/calebandcode/mochi" rel="noopener noreferrer"&gt;https://github.com/calebandcode/mochi&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Setup instructions (including &lt;code&gt;.env.local&lt;/code&gt; configuration for &lt;code&gt;SMARTSPECTRA_API_KEY&lt;/code&gt; and running locally with &lt;code&gt;npm run dev&lt;/code&gt;) are included in the repository README.&lt;/p&gt;

&lt;h2&gt;
  
  
  How It Responds to Human Signals
&lt;/h2&gt;

&lt;p&gt;I integrated &lt;code&gt;@smartspectra/node-sdk&lt;/code&gt; (v3.5.0) inside a Next.js App Router backend (&lt;code&gt;lib/smartspectra-server.ts&lt;/code&gt;), capturing live 30 FPS camera frames via &lt;code&gt;sdk.useCamera()&lt;/code&gt;, decoding Presage's binary protobuf packets with &lt;code&gt;decodeMetrics()&lt;/code&gt;, and streaming the live signals over Server-Sent Events (&lt;code&gt;/api/smartspectra/stream&lt;/code&gt;) directly into Framer Motion and React state to drive Mochi's SVG animations.&lt;/p&gt;

&lt;p&gt;Here is how the signals dictate the experience:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;  &lt;strong&gt;Pulse (Heart Rate):&lt;/strong&gt; The app uses the SDK's contactless rPPG (&lt;code&gt;cardio.pulseRate&lt;/code&gt;, &lt;code&gt;cardio.arterialPressureTrace&lt;/code&gt;, and &lt;code&gt;cardio.hrv&lt;/code&gt;) to detect your resting pulse. While calibrating, Mochi stays asleep and surfaces live Presage &lt;code&gt;validationStatus&lt;/code&gt; positioning hints; once a live heart rate is acquired, Mochi "wakes up" and the session officially begins.&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;Breathing Rate:&lt;/strong&gt; Mochi's squishy, biomorphic body physically expands and contracts in real time, synchronizing with your actual chest movements (&lt;code&gt;breathing.upperTrace&lt;/code&gt; and &lt;code&gt;breathing.rate&lt;/code&gt;). As you consciously slow your breathing into a 5-3-8 restorative rhythm, Mochi mimics the glassy, slow rhythm of your physical state.&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;Head Pose &amp;amp; Expressions:&lt;/strong&gt; I routed Presage's 478-point &lt;code&gt;face.landmarks&lt;/code&gt; and &lt;code&gt;face.expression&lt;/code&gt; scores to Mochi's eyes, body lean, and mood—allowing the character to gently track your head movements across the webcam view, mirror your smile, and immediately drop the readout to &lt;code&gt;-- BPM&lt;/code&gt; if you step away.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Prize Categories
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Best Thoughtful Real-World Use:&lt;/strong&gt;&lt;br&gt;
Mochi addresses "screen apnea"—the unconscious habit of holding our breath or breathing shallowly while looking at screens. It is designed for developers, students, and remote workers who need a functional, frictionless way to regulate their nervous systems during the workday.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Most Creative or Delightful Use:&lt;/strong&gt;&lt;br&gt;
By turning raw biometric data into a squishy, reactive character that hands you handwritten affirmation cards, Mochi flips the clinical nature of biometric monitoring into an unexpectedly warm and poetic experience.&lt;/p&gt;

&lt;h2&gt;
  
  
  Consent and Data Handling
&lt;/h2&gt;

&lt;p&gt;Privacy and compliance are built directly into Mochi's 3-step onboarding UI (&lt;code&gt;components/consent-modal.tsx&lt;/code&gt;) before the camera is ever activated:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;  &lt;strong&gt;Camera Consent (Consensual Sensing):&lt;/strong&gt; Mochi uses the Presage SmartSpectra SDK and your webcam to measure subtle optical micro-changes in facial blood flow (contactless rPPG), breathing rhythm, and gentle expressions. Monitoring is 100% consensual, active only while on this screen, and clearly indicated by your camera's hardware light.&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;Data, Storage, Retention &amp;amp; Telemetry:&lt;/strong&gt; Video frames are processed locally in real-time memory and immediately discarded after each frame. No video, photos, or facial biometric profiles are ever recorded, saved to disk, shared, or transmitted to any server. SDK telemetry is explicitly disabled (&lt;code&gt;enableTelemetry: false&lt;/code&gt;); Presage servers are only contacted by the SDK for API key authorization. Only your local stillness streak count and last session date are stored in browser &lt;code&gt;localStorage&lt;/code&gt; (which you can delete anytime by clearing site data). No external AI services are used.&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;Wellness Notice (No Medical Claims):&lt;/strong&gt; Mochi and SmartSpectra SDK metrics are designed for relaxation, mindful stillness, and personal self-reflection. Mochi is not an FDA-cleared medical device and must not be used for diagnosis, medical treatment, or clinical decision-making.&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>devchallenge</category>
      <category>presagechallenge</category>
    </item>
  </channel>
</rss>
