← Back to All Projects

Problem & Audience

Problem: Wearable hardware interactions rely on tight gesture state transitions, wake/sleep timers, and compact screen layouts that are awkward to inspect outside physical devices.

Target Audience: Frontend engineers and UI reviewers evaluating deterministic state-machine UI architecture and micro-interactions.

Role: Sole Frontend Developer

Outcome & Personal Contribution

Shipped a responsive React 19 + TypeScript + Vite web simulation supporting swipe/drag gestures, wheel scrolling, side crown clicks, and arrow-key navigation.

  • Modeled the wearable OS screen transitions (AOD, Watch Face, 21-App Drawer, Activity Stats, Quick Settings, Multisport, Notifications) using a reducer-driven state machine.
  • Hand-crafted custom SVG icons and responsive CSS layouts tailored to the compact circular/squircle watch viewport.
  • Added multi-input navigation covering pointer drag, mouse wheel, physical side-button simulation, and keyboard arrow shortcuts.

Architecture & Data Flow

Pointer, wheel, crown-button, and keyboard events dispatch typed actions into a reducer state machine that transitions between six core wearable views and simulated health telemetry.

Input CapturePointer + Keyboard + Crown

Normalizes swipe/drag gestures, wheel ticks, crown clicks, and arrow keys into discrete navigation intents.

  1. 1. Input Capture (Touch · Wheel · Keys): Normalizes swipe/drag gestures, wheel ticks, crown clicks, and arrow keys into discrete navigation intents. [Pointer + Keyboard + Crown]
  2. 2. Reducer State Machine (Deterministic FSM): Pure TypeScript reducer transitions cleanly between AOD, Watch Face, App Drawer, Quick Settings, Sports, and Alerts. [6 primary watch views]
  3. 3. SVG & CSS Viewport (21-App Grid + Dials): Renders crisp vector dials, health rings, and toggle controls using custom SVG and CSS. [21 custom SVG app icons]

Engineering Decisions & Trade-Offs

Reducer-Driven Screen State Machine

Decision: Centralized navigation, AOD wake state, and quick-setting toggles inside a pure reducer rather than scattered component booleans.

Trade-off: Slightly more upfront action typing, eliminating impossible simultaneous overlays across swipe directions.

Testing & Verification Evidence

  • Deployed live at mhsatgit.github.io/smartwatch/ with full screen gallery captured in the portfolio.
  • Preserved interactive screen-switching gallery in the portfolio Lab.

Known Limitations & Scope

  • Frontend-only simulation using synthetic step, calorie, and workout data; no physical Bluetooth wearable pairing.
ReactTypeScriptViteCSSSVG
See milestone in Journey →

Captured Application Interfaces

SmartWatch live web demo woken green X watch face
Watch Face — Woken from AOD via MENU crown button.
SmartWatch live web demo 21-app grid drawer
21-App Drawer — Custom SVG application grid.
SmartWatch live web demo Activity and Health metrics screen
Activity & Stats — Simulated steps, calories, and active hours.
SmartWatch live web demo Quick Settings controls panel
Quick Settings — Battery status, DND, brightness, and toggles.
SmartWatch live web demo Recent Multisport workouts menu
Multisport — Indoor Walk, Outdoor Run, and Outdoor Walk views.
SmartWatch live web demo Notifications screen
Notifications — Swipe Up view from watch face.