Skip to content

Latest commit

 

History

History
58 lines (48 loc) · 3.52 KB

README.md

File metadata and controls

58 lines (48 loc) · 3.52 KB

TSX Compositions

Handwritten or compiled video compositions for seqvio-render. Each file exports a default React component and export const meta with duration and fps. For new technical explainers, review EDITORIAL.md and VISUAL-DESIGN.md, then author ExplainerDocument under examples/ir/ and compile it here so narration and visual ExplanationBeats are designed together.

Render

From the repository root after npm run build:

node packages/renderer/dist/cli.js \
  --component examples/compositions/seqvio-overview-en.tsx \
  --output output/seqvio-overview-en.mp4 \
  --width 1280 --height 720 --fps 30 --quality medium

Conventions

  • Single scene: one WhiteboardScene with DrawText / DrawShape / Hand and local start / duration frames.
  • Multi scene: VideoComposition + Scene + optional Transition (see seqvio-intro.tsx).
  • Style demos: use getSeqvioStylePreset / listSeqvioStylePresets from @seqvio/whiteboard.
  • Product demos: use @seqvio/product-demo for browser frames, screenshot slots, cursor paths, titles, and callouts.
  • Timing: all start and duration values are in frames, not seconds.
  • Narrated IR: use explanation.cues + phrase-anchored explanation.beats; post-TTS timing is resolved into a semantic scene time map.
  • Manual TSX audio: direct meta.audio.narration remains supported but is a lower-level contract without automatic phrase-level visual alignment.
  • Manim media: render Python Manim scenes externally through @seqvio/manim-adapter, then use ManimClip or an ExplainerDocument manim scene. See docs/MANIM-INTEGRATION.md.
  • No templates: layout and copy are explicit in TSX (Remotion-style).

Examples

File Description
seqvio-overview-en.tsx Narrated English product overview
seqvio-overview-zh.tsx Narrated Chinese product overview
seqvio-intro.tsx 4-scene framework intro (EN + partial Chinese)
seqvio-intro-zh.tsx 4-scene all-Chinese framework intro
seqvio-audio-demo.tsx Audio and caption metadata demo
seqvio-alignment-demo.tsx Scene-duration derivation from resolved audio
seqvio-style-manifest-demo.tsx Whiteboard style preset manifest demo
seqvio-product-demo-preview.tsx Product walkthrough component demo
seqvio-product-demo-validation.tsx Short product-demo renderer validation composition
seqvio-scatterbrain.tsx Sticky-note / workshop style demo
loop-engineering-explainer.tsx Long-form narrated explainer composition
manim-clip-validation.tsx Minimal seekable ManimClip and named-marker validation
manim-end-to-end-validation.tsx Narrated playback of real graph and proof Manim renders
generated/style-layout-demo.tsx Storyboard IR compiled TSX demo

More single-scene samples: packages/whiteboard/examples/.

ExplainerDocument examples: examples/ir/. Timing details: docs/EXPLANATION-BEAT-TIMING.md.