Communitygithub.com

kline-video-maker

A 3D/2.5D financial K-line short video and dynamic data narrative production workshop (V2.0). Designed for generating high-impact vertical-screen data narrative shorts for cryptocurrencies, stocks, indices, gold, gaming skins, business rises and falls, or life stories, featuring cinematic title covers, a seven-segment emotional arc, four-layer safe-area UI, a 7-layer deterministic hybrid rendering stack, a time microscope for multi-cycle switching, 12 classes of procedural VFX (no fairy sparkles), 130 BPM audiovisual synchronization, and a

What is kline-video-maker?

This skill,

Works with~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/okkkk-maker/kline-video-maker/tree/HEAD

Ask in your favorite AI

Open a new chat with this agent skill pre-loaded.

Documentation

K-Line Video Creator (V2.0 Cinematic Data Narrative Workshop SOP)

Transform financial market data, market events, or personnel/business rise and fall timelines into visually and audibly impactful 3D/2.5D dynamic K-line narrative short videos. The default delivery is a self-contained HTML5 workshop that can be previewed online directly within the chat, supports real-time parameter adjustment, and one-click export of HD finished videos/covers; when engineering-grade batch rendering is needed, it supports full delivery via Remotion / Three.js + Playwright/FFmpeg pipelines.

In-depth Technical Reference: The complete TypeScript Schema (MarketBar / EventAnnotation / AudioCue), detailed implementation parameters for 12 classes of VFX, acoustic forensic metrics, and headless export commands can be found in references/data_viz_video_master_spec_v2.md. When implementing complex effects, generating engineering scaffolding, or verifying precise algorithms/interfaces, you must read this reference file first.


1. Basic Specifications, Four-Layer Safe-Area UI, and Design Tokens

  1. Finished Video Technical Standards and Duration Tiers

    • Aspect Ratio and Frame Rate: Default vertical 1080 × 1920 (9:16, with one-click switch to 16:9 1920 × 1080), strictly 30.0 fps Constant Frame Rate (CFR).
    • Export Encoding: H.264 High (crf 18, yuv420p, BT.709) + AAC Stereo (44.1kHz, 192kbps), to prevent compression blocks in dark-field fine grids, monospaced numbers, and particle trails.
    • Duration Tiers: Single-event high-energy short viral videos 60–110 s (default recommended 84–95 s for both completion rate and tension); Cross-era epic summaries 180–240 s.
  2. Four-Layer Spatially Separated UI and 1080 × 1920 Physical Safe Zones

    • y = 0 ~ 180px: Top Safe Margin (avoids platform search bar and status bar).
    • y = 180 ~ 420px: L1 Permanently Anchored HUD—Left area (x: 56~560) holds the target/index name, large price points, benchmark P/L capsule, precise date/hour, and K-line cycle badge; Right area (x: 580~1024) holds adapted compact telemetry modules (VIX Gauge / Top5 FLIP Competition Board / Personnel Status Meter).
    • y = 420 ~ 600px: L2 Phase Event Spotlight Card—Resident high-contrast, oversized, bold panel. Small pop-up text is strictly forbidden:
      • Structure follows the zero-narration, ultra-short sentence rule: 1 colored semantic capsule (Start / Positive / Negative / Recovery / Consolidation / Flash News / Rebound / Data) + Main title ≤ 6 Chinese characters (44–48px ultra-bold white text with outline) + Subtitle/cause ≤ 20 characters containing core quantified numbers (28–32px highly readable bold text).
      • When triggered by a major event, it elastically enlarges and anchors to the current K-line bar with a guide line, automatically avoiding overlap.
    • y = 600 ~ 1580px: L3 Main Chart 3D Stage & L4 Macro Full-History Roadmap—The current cursor is anchored at x = 62% ~ 72%; accommodates 3D K-lines, interval return box (+X% N days), heatmap matrix piercing wall, hexagonal shield floor, and activates the L4 milestone capsule roadmap when zoomed out.
    • y = 1580 ~ 1920px: Bottom Safe Margin (avoids platform text and interaction area), retaining only background extension, minimal disclaimers, and credibility formula footnotes (whenever large impact numbers like billions or trillions of dollars appear, source and conversion formula in small text must be attached at the bottom).
  3. Unified Design Tokens (Mandatory Red for Up, Green for Down in the Chinese Market)

    • Base Color and Grid: Midnight black #030507, crash dark green tint #03180C, perspective coordinate grid rgba(255, 255, 255, 0.045).
    • Up/Down Semantic Colors: Neon red for up #F53348 (outer glow #FF6B4A), cold emerald green for down #1BFF85 (light curtain #00D170).
    • Narrative Accent Colors: All-time high/break-even gold #F6C44D, circuit breaker warning red #D50000, lightning/shield highlight white #E8FFF6, prolonged decline cold rain text #DCE8F2.
    • Two Iron Laws for Digital Typography: All real-time values must use font-variant-numeric: tabular-nums to prevent horizontal jitter; when date days, hour digits, or large values scroll rapidly, apply odometer digit roll blur.

2. Cinematic Title Cover and Seven-Segment Emotional Manipulation Arc

  1. Act 0 | Cinematic Title Cover (0~3 seconds)

    • Frame 0 serves as a production-grade cover: 3D metallic stereo main title + light flow + full-cycle 3D K-line peak visuals + clear tagline and three-column core data card, supporting one-click export of a static HD PNG; 2.4s ~ 3.0s uses a push-in zoom transition to smoothly enter the main feature.
  2. Main Feature Seven-Segment Emotional Arc (General Narrative Template)

    • ① Shock Flashback Hook (3~8 seconds): Cuts directly to the most brutal crash or peak moment of the entire video to keep fingers from swiping away, then uses a ◀◀ Back to Start tape rewind transition to return to linear narrative.
    • ② Sunk Cost Setup: First depicts the early grinding bottom, ebbing tide, or long accumulation (can be paired with frost/low-pass muffled texture), establishing the psychological anchor of

Related Skills