Inspiration

Modern graphical user interfaces are static and rigid: regardless of whether a human operator is in a relaxed creative flow state or experiencing acute cognitive overload during an operational emergency, the interface renders identical visual noise, typography scales, touch target dimensions, and information hierarchy. In high-stakes domains—such as ICU trauma triage, algorithmic trading crisis desks, and air traffic control—extraneous visual friction and high Fitts' law target acquisition delays directly increase error rates and human reaction latencies.

We built SynapseFlow AI to pioneer a fundamentally new paradigm: Biomorphic Kinetic UI/UX & Dynamic Cognitive Load Topology Synthesis. Grounded in empirical mathematical ergonomics—specifically John Sweller’s Cognitive Load Theory, Fitts’ Law of Human Motor Kinetics, and the Hick-Hyman Law of Decision Latency—SynapseFlow continuously models operator state and dynamically morphs the layout, spatial grouping, typography scale, padding, and DOM topology in real-time.


What It Does

  1. Sweller Tripartite Cognitive Load Engine: Decomposes cognitive load into Intrinsic Task Complexity ($L_i$), Extraneous Clutter ($L_e$), Working Memory Saturation ($S_{\text{WM}} = \min(1.0, \text{Chunks}/(7\pm 2))$), and Operator Stress ($S$). Formulates total load $L_{\text{total}} = 0.40 L_i + 0.35 L_e + 0.15 S_{\text{WM}} + 0.10 S$.
  2. Biomorphic Dynamic Topology Morphing: Continuously evaluates cognitive state and synthesizes custom CSS property tokens and DOM topologies across 4 distinct operational modes:
    • SPATIAL_EXPLORATORY_CANVAS (Zen / Flow State, $L_{\text{total}} < 0.35$): 1.0x font scale, glassmorphism physics, full component visibility.
    • BALANCED_FLOW_GRID (Quant / Financial Crisis, $0.35 \le L_{\text{total}} < 0.52$): 0.92x compact scale, high information density, sharp geometric borders.
    • STREAMLINED_PROGRESSIVE (Air Traffic Controller, $0.52 \le L_{\text{total}} < 0.72$): 1.08x scale, strict spatial grouping, automated non-essential collapsible drawers.
    • CRITICAL_TUNNEL_FOCUS (ICU Trauma Surgeon, $L_{\text{total}} \ge 0.72$): 1.25x scale, 1.4x padding, 1.6x extreme contrast, total pruning of secondary noise, priority alpha vitals only.
  3. Fitts' Law Kinetic Target Acquisition Sandbox: An interactive motor-kinetic benchmark calculating real-time Target Distance ($D$), Target Width ($W$), Index of Difficulty ($ID = \log_2(2D/W)$), Movement Time ($MT$), and Throughput ($IP = ID / MT$). Dynamically expands interactive hitboxes under high operator stress to eliminate motor slips.
  4. Force-Directed Cognitive Friction Graph: Real-time HTML5 Canvas physics engine visualizing intrinsic vs extraneous UI component tension, pruning extraneous friction nodes automatically as cognitive saturation nears threshold.
  5. Tactical CLI & Live Cyberdeck: Full command-line interface (synapseflow/cli/main.py) with profile and morph subcommands, plus a production web dashboard deployed on Vercel.

How We Built It

  • Mathematical Engine (synapseflow/engine/): Developed in pure Python 3.14 with complete Sweller, Fitts, Hick-Hyman, and Miller models.
  • Deterministic 0.000s Test Suite (synapseflow/engine/test_synapseflow.py): 8 out of 8 unit tests passing deterministically in 0.000 seconds.
  • Interactive Cyberdeck: Vanilla ES6+ and HTML5 Canvas physics with CSS custom property reactive binding, zero runtime bloat.
  • Global Deployment: Hosted on Vercel CDN edge infrastructure with 200 OK availability.
  • Open-Source Repository: Fully documented and public on GitHub under the MIT License.

Challenges We Ran Into

  • Smooth Biomorphic Transitions: Abrupt UI layout shifts cause severe visual disorientation. We solved this by implementing continuous parametric CSS custom property interpolation combined with spring physics timing functions, allowing components to organically morph their padding, hierarchy, and border radii without jarring layout jumps.
  • Balancing Hick-Hyman Decision Pruning: Eliminating secondary decision nodes without obscuring vital system overrides required a weighted node priority queue that preserves emergency actions even in maximum tunnel mode.

Accomplishments That We're Proud Of

  • Deterministic Ergonomic Verification: 100% test coverage with sub-millisecond execution (0.000s).
  • Novel HCI Paradigm: Translating abstract psychological cognitive load theories (Sweller, Miller, Fitts, Hick) into actionable, real-time UI/UX state machines.
  • Zero-Latency Reactive Feedback: Live kinetic tracking and interactive target benchmarks running smoothly at 60 FPS in standard browsers.

What We Learned

  • How subtle adaptations in interactive hitbox dimensions ($W_{\text{effective}} = W_{\text{base}} \cdot (1 + 0.5 S)$) dramatically lower error rates during high-arousal human stress states.
  • The mathematical equilibrium between extraneous cognitive load reduction and functional discoverability in mission-critical software.

What's Next for SynapseFlow AI

  • WebGazer Eye-Tracking Integration: Real-time fixation duration and saccadic gaze dispersion telemetry to dynamically calculate cognitive focus hotspots.
  • Framework Adapters: Headless React, Vue, and Svelte component packages for drop-in biomorphic topology morphing in enterprise design systems.

Built With

  • biomorphic
  • cognitive-load
  • design-system
  • dynamic-ui
  • fitts-law
  • html5
  • human-computer-interaction
  • javascript
  • python
  • ui-ux
  • vercel
  • web-design
Share this project:

Updates

Submission history