tumio-ltd/focusflow

🎬 Turn complex architecture diagrams into 60fps cinematic interactive stories. Interactive camera paths, AI voiceovers, and standalone single-file HTML or MP4 export.

TypeScript

0

290 commits

updated Sep 19, 2026

See the code
architecture-diagram
audio-visualization
camera-controls
canvas
developer-tools
diagramming
gemini-tts
html5
linear-style
motion-graphics
offline-first
presentation-tool
react
standalone-html
storytelling
svg-animation
tailwind-css
typescript
video-player
vite

See what people are saying (1)

SourceMessageScoreDate

I got tired of ugly architecture slides, so I built an open-source tool that directs 4K system diagrams like a 60fps movie camera (r/webdev)

Hey everyone! As a software architect and web developer, I’ve spent the better part of my career drawing complex distributed systems—Kubernetes clusters, transactional e-commerce topologies, streaming pipelines with Kafka and Flink, you name it. Every time I had to present these diagrams in design…

1

Sep 19, 2026

README

FocusFlow Logo

Turn complex architecture diagrams into 60fps cinematic interactive stories.

English简体中文

License TypeScript Turborepo Vite Tailwind CSS GitHub Pages


Try Live Demo Online



FocusFlow Hero Walkthrough Demo




💡 Why FocusFlow?

When presenting distributed systems, microservices, or complex AI pipelines, static architecture diagrams have fundamental flaws:

  • Cognitive Overload: A static 4K diagram dumps hundreds of nodes at once. Audiences lose context within 30 seconds.
  • Slides & Screen Recordings Fall Short: Slide decks crop out surrounding connections; recorded videos cannot be paused for interactive inspection or zooming into node details.
  • Production Friction: High-end motion graphics typically require Adobe After Effects or complex video production tools.

FocusFlow bridges this gap. It lets you direct your architecture diagram like a movie camera:

  • Smoothly pans, zooms, and rotates across nodes at 60fps GPU acceleration.
  • Lights up dynamic cubic Bezier curves between dependencies.
  • Generates AI voiceover with synchronized waveforms.
  • Compiles into a 100% offline single-file HTML that runs in any browser with zero network or runtime dependencies.

📊 Comparison Matrix

CapabilityFocusFlowTraditional Slides (PPT / Keynote)Static Diagramming (Draw.io / Excalidraw)Screen Recording (Loom / OBS)
Cinematic Camera PathingNative 60fps KinematicsDiscrete manual transitions❌ NoneFixed perspective video
Interactive Node ExplorationFull (Pan / Zoom while playing)❌ Static slidesManual canvas pan❌ Flat pixels
Zero-Friction AlignmentSobel Edge Smart SnappingManual snappingManual alignment❌ None
Dynamic Flow CurvesReal-time Bezier glow routing❌ NoneStatic arrowsPre-rendered pixels
Distribution FormatSelf-contained Single-file HTMLProprietary .pptx / .keyImage / XML exportHeavy .mp4 / .webm video
Offline Execution100% Offline (Zero backend)Depends on appRequires web appLocal video player

✨ Key Features

🎥 1. 60fps GPU Cinematic Kinematics & Dynamic Bezier Flow

Continuous affine transforms (scale, translate3d, rotate) driven by viewport kinematics. Seamlessly transition from global overview to microscopic component details without aliasing or frame drops, with glowing Bezier paths illuminating runtime interactions.

60fps Cinematic Kinematics and Dynamic Bezier Flow

🧲 2. Sobel Edge Smart Snapping

Equipped with a native computer-vision algorithm: drag a bounding box near any node or diagram card, and FocusFlow automatically snaps bounding boxes to the exact pixel borders in $< 1\text{ms}$.

Sobel Edge Smart Snapping Studio Canvas

⚡ 3. Dynamic Bezier Flow Routing

Intelligent relative anchor calculation (right ➔ left, bottom ➔ top) connecting nodes with animated glowing pulses, customizable pulse colors, and directional indicators.

🎙️ 4. AI Voiceover & Audio-Motion Sync

Built-in offline Web Speech API synthesizer and cloud LLM voiceover connector. Features visual audio waveform tracks, subtitle markers, and auto-computed camera dwell times.

AI Voiceover and Audio Waveform Synchronization

🏝️ 5. Dynamic Island & Zen Mode

A sleek floating HUD pill at the bottom provides chapter progress, time remaining, playback controls, and element density counters. Supports auto-hiding Zen Mode for clean presentation recording.

📦 6. Single-File Offline Compiler

Compile your entire project—background 4K image, overlays, audio narration, motion scripts, and player engine—into a single self-contained .html file ($< 5\text{MB}$) that opens anywhere with double-click.


🚀 Quick Start

1. Try Online Live Demo

No installation needed. Open directly in your browser:
👉 https://focusflow.tumio.site/

2. Local Development (Turborepo)

# Clone the repository
git clone https://github.com/tumio-ltd/focusflow.git
cd focusflow

# Install dependencies (requires pnpm 9+)
pnpm install

# Start local workbench (FocusFlow Studio)
pnpm dev:studio
# 👉 Open http://localhost:5174 in your browser

# Build all packages
pnpm build

🏗️ Monorepo Architecture

focusflow/
├── apps/
│   └── studio/               # Visual Web Workbench (React 19, Tailwind CSS v4, Lucide)
├── packages/
│   ├── player/               # High-performance 60fps runtime engine (~35KB, Zero UI deps)
│   ├── dsl/                  # Shared TypeScript DSL specifications & JSON schema
│   ├── config-typescript/    # Shared TypeScript compiler options
│   ├── config-oxlint/        # High-speed Oxlint quality rules
│   └── config-tailwind/      # Semantic dark/light design tokens
├── examples/
│   ├── luxehms/              # 4K Microservices Architecture Showcase
│   ├── sales-fee/            # 5K Panoramic Sales Network & Commission Topology
│   ├── overlay-demo/         # Picture-in-picture dynamic drilldown showcase
│   └── simple-demo/          # Minimal 2-node smoke test
├── docs/                     # Technical whitepapers & algorithm specifications
└── scripts/                  # Standalone compiler & project generator

📦 Packages

PackageVersionLicenseDescription
@focusflow/playerv1.0.0MITLightweight (~35KB) 60fps canvas presentation runtime engine
@focusflow/dslv1.0.0MITFocusFlow typed DSL schema, geometry types & validator
@focusflow/studiov1.0.0AGPL-3.0Interactive visual timeline authoring workbench

📖 Documentation & Technical Whitepapers

Detailed architectural and algorithmic specifications are available in the docs/ directory:


🤝 Contributing

Contributions, issues, and feature requests are welcome!
Feel free to check the Issues page.


📄 License

FocusFlow is licensed under a dual-licensing model:

Copyright © 2026 Tumio Soft Technology Co., Ltd.

Contributors

chenxiang94

272 commits

xiangc579

18 commits

tumio-ltd/focusflow

🎬 Turn complex architecture diagrams into 60fps cinematic interactive stories. Interactive camera paths, AI voiceovers, and standalone single-file HTML or MP4 export.

TypeScript

0

290 commits

updated Sep 19, 2026

See the code
architecture-diagram
audio-visualization
camera-controls
canvas
developer-tools
diagramming
gemini-tts
html5
linear-style
motion-graphics
offline-first
presentation-tool
react
standalone-html
storytelling
svg-animation
tailwind-css
typescript
video-player
vite

See what people are saying (1)

SourceMessageScoreDate

I got tired of ugly architecture slides, so I built an open-source tool that directs 4K system diagrams like a 60fps movie camera (r/webdev)

Hey everyone! As a software architect and web developer, I’ve spent the better part of my career drawing complex distributed systems—Kubernetes clusters, transactional e-commerce topologies, streaming pipelines with Kafka and Flink, you name it. Every time I had to present these diagrams in design…

1

Sep 19, 2026

README

FocusFlow Logo

Turn complex architecture diagrams into 60fps cinematic interactive stories.

English简体中文

License TypeScript Turborepo Vite Tailwind CSS GitHub Pages


Try Live Demo Online



FocusFlow Hero Walkthrough Demo




💡 Why FocusFlow?

When presenting distributed systems, microservices, or complex AI pipelines, static architecture diagrams have fundamental flaws:

  • Cognitive Overload: A static 4K diagram dumps hundreds of nodes at once. Audiences lose context within 30 seconds.
  • Slides & Screen Recordings Fall Short: Slide decks crop out surrounding connections; recorded videos cannot be paused for interactive inspection or zooming into node details.
  • Production Friction: High-end motion graphics typically require Adobe After Effects or complex video production tools.

FocusFlow bridges this gap. It lets you direct your architecture diagram like a movie camera:

  • Smoothly pans, zooms, and rotates across nodes at 60fps GPU acceleration.
  • Lights up dynamic cubic Bezier curves between dependencies.
  • Generates AI voiceover with synchronized waveforms.
  • Compiles into a 100% offline single-file HTML that runs in any browser with zero network or runtime dependencies.

📊 Comparison Matrix

CapabilityFocusFlowTraditional Slides (PPT / Keynote)Static Diagramming (Draw.io / Excalidraw)Screen Recording (Loom / OBS)
Cinematic Camera PathingNative 60fps KinematicsDiscrete manual transitions❌ NoneFixed perspective video
Interactive Node ExplorationFull (Pan / Zoom while playing)❌ Static slidesManual canvas pan❌ Flat pixels
Zero-Friction AlignmentSobel Edge Smart SnappingManual snappingManual alignment❌ None
Dynamic Flow CurvesReal-time Bezier glow routing❌ NoneStatic arrowsPre-rendered pixels
Distribution FormatSelf-contained Single-file HTMLProprietary .pptx / .keyImage / XML exportHeavy .mp4 / .webm video
Offline Execution100% Offline (Zero backend)Depends on appRequires web appLocal video player

✨ Key Features

🎥 1. 60fps GPU Cinematic Kinematics & Dynamic Bezier Flow

Continuous affine transforms (scale, translate3d, rotate) driven by viewport kinematics. Seamlessly transition from global overview to microscopic component details without aliasing or frame drops, with glowing Bezier paths illuminating runtime interactions.

60fps Cinematic Kinematics and Dynamic Bezier Flow

🧲 2. Sobel Edge Smart Snapping

Equipped with a native computer-vision algorithm: drag a bounding box near any node or diagram card, and FocusFlow automatically snaps bounding boxes to the exact pixel borders in $< 1\text{ms}$.

Sobel Edge Smart Snapping Studio Canvas

⚡ 3. Dynamic Bezier Flow Routing

Intelligent relative anchor calculation (right ➔ left, bottom ➔ top) connecting nodes with animated glowing pulses, customizable pulse colors, and directional indicators.

🎙️ 4. AI Voiceover & Audio-Motion Sync

Built-in offline Web Speech API synthesizer and cloud LLM voiceover connector. Features visual audio waveform tracks, subtitle markers, and auto-computed camera dwell times.

AI Voiceover and Audio Waveform Synchronization

🏝️ 5. Dynamic Island & Zen Mode

A sleek floating HUD pill at the bottom provides chapter progress, time remaining, playback controls, and element density counters. Supports auto-hiding Zen Mode for clean presentation recording.

📦 6. Single-File Offline Compiler

Compile your entire project—background 4K image, overlays, audio narration, motion scripts, and player engine—into a single self-contained .html file ($< 5\text{MB}$) that opens anywhere with double-click.


🚀 Quick Start

1. Try Online Live Demo

No installation needed. Open directly in your browser:
👉 https://focusflow.tumio.site/

2. Local Development (Turborepo)

# Clone the repository
git clone https://github.com/tumio-ltd/focusflow.git
cd focusflow

# Install dependencies (requires pnpm 9+)
pnpm install

# Start local workbench (FocusFlow Studio)
pnpm dev:studio
# 👉 Open http://localhost:5174 in your browser

# Build all packages
pnpm build

🏗️ Monorepo Architecture

focusflow/
├── apps/
│   └── studio/               # Visual Web Workbench (React 19, Tailwind CSS v4, Lucide)
├── packages/
│   ├── player/               # High-performance 60fps runtime engine (~35KB, Zero UI deps)
│   ├── dsl/                  # Shared TypeScript DSL specifications & JSON schema
│   ├── config-typescript/    # Shared TypeScript compiler options
│   ├── config-oxlint/        # High-speed Oxlint quality rules
│   └── config-tailwind/      # Semantic dark/light design tokens
├── examples/
│   ├── luxehms/              # 4K Microservices Architecture Showcase
│   ├── sales-fee/            # 5K Panoramic Sales Network & Commission Topology
│   ├── overlay-demo/         # Picture-in-picture dynamic drilldown showcase
│   └── simple-demo/          # Minimal 2-node smoke test
├── docs/                     # Technical whitepapers & algorithm specifications
└── scripts/                  # Standalone compiler & project generator

📦 Packages

PackageVersionLicenseDescription
@focusflow/playerv1.0.0MITLightweight (~35KB) 60fps canvas presentation runtime engine
@focusflow/dslv1.0.0MITFocusFlow typed DSL schema, geometry types & validator
@focusflow/studiov1.0.0AGPL-3.0Interactive visual timeline authoring workbench

📖 Documentation & Technical Whitepapers

Detailed architectural and algorithmic specifications are available in the docs/ directory:


🤝 Contributing

Contributions, issues, and feature requests are welcome!
Feel free to check the Issues page.


📄 License

FocusFlow is licensed under a dual-licensing model:

Copyright © 2026 Tumio Soft Technology Co., Ltd.

Contributors

chenxiang94

272 commits

xiangc579

18 commits

Languages

TypeScript

76.9%

JavaScript

18.5%

CSS

2.7%

HTML

1.9%