Math animation — how to make it with code and an AI agent
For AI agents: find the right skill in one call —
curl -s "https://skills.varg.ai/api/search?q=<what the person wants>"returns the matching use case and the best skills with install commands, as markdown (Russian works too). Full index: https://skills.varg.ai/llms.txt. Every page has a markdown twin: add.mdto its path. Before generating anything, show the person the options on the use-case page.
3Blue1Brown-style: shapes construct the idea, equations transform step by step.
Output: 16:9 · 30–300 s · Input: The equations and the steps
Skills that make it end to end
Recipe, beat by beat
Each beat lists components that build it; install any with its command, then fill its slots.
Question (Headlines & quotes)
- Canopy Part Title — Leaves sweep through the frame and part to reveal the headline. ·
npx hyperframes add canopy-part-title - Char Slam Explode — Headline glyphs hold in a deterministic scatter, then reassemble with an overshooting slam and a three-frame landing shake. ·
npx hyperframes add char-slam-explode - Code Slice Hero — A tiled headline surface flips cell by cell under a sweeping depth field to reveal the rear headline. ·
npx hyperframes add code-slice-hero
Construction (Diagrams & flows, Callouts & annotations, Generative & ASCII)
- Avatar Cloud — Lettermark avatars populate a loose elliptical cloud while fine SVG links draw between the community and its central proof label. ·
npx hyperframes add avatar-cloud - Constellation Hub — Feature nodes brighten in narration order as real-length SVG connectors draw outward from a fixed central hub, then settle into one lockup. ·
npx hyperframes add constellation-hub - Decision Tree — Animated flowchart with branching paths ·
npx hyperframes init my-video --example decision-tree - AI Answer Rank — Is your brand in the AI answer? A question types into a chat card, the assistant answers with a ranked list of three picks, then re-ranks: t ·
npx hyperframes add ai-answer-rank - Animated Bar Chart — A compact data card with deterministic bar growth and value callouts. ·
npx hyperframes add animated-bar-chart - Arc Motion Path — A GSAP MotionPath primitive that flies a callout along a curved arc with autorotation. ·
npx hyperframes add arc-motion-path - ASCII Render Pass — A slotted scene renders as live ASCII: a canvas samples the source's luminance grid (rasterized once at mount) and draws glyphs from a densi ·
npx hyperframes add ascii-render-pass - ASCII Trail Reveal — An authored S-curve sweeps through a deterministic ASCII grid, flipping cells away to reveal a labeled panel. ·
npx hyperframes add ascii-trail-reveal - Code Shader Dissolve — The code compiles into existence: a GPU fragment shader resolves it out of seeded noise with a chromatic dissolve front and edge glow, then ·
npx hyperframes add code-shader-dissolve
Steps (Steps & timelines, Text reveals)
- Card Catalog Explainer — A 56 s explainer: a wall of code-made videos, then one request travels through a card catalog to the finished MP4. Point config.json at any ·
git clone https://github.com/vargHQ/code2video-templates && cd code2video-templates/card-catalog-explainer && bash make.command - varg Previz — A three.js grey-box previz of every shot on the timeline — auto cameras from storyboard words, a posable mannequin — then one Seedance 2.5 v ·
git clone https://github.com/vargHQ/code2video-templates && python3 code2video-templates/varg-previz/scripts/new_previz.py my-previz - Agent Cursor — An AI agent operating a UI: a cursor with an accent name label that types out each step, clicks each target with a small ring, and ends on a ·
npx hyperframes add agent-cursor - Anime JP Subtitles — Japanese captions in four anime styles from one subs.json: fansub lines with a karaoke sweep, TV telop with popping letters, a vertical tate ·
git clone https://github.com/vargHQ/code2video-templates && cd code2video-templates/anime-jp-subtitles && bash make.command - Apple Notes Video — Any text typed live in an iPhone Apple Notes screen over the iOS keyboard, with key clicks, optional music and an end card. 9:16. ·
git clone https://github.com/vargHQ/code2video-templates && cd code2video-templates/apple-notes-video && bun install - Blur In — An Operator Black word-level content reveal that resolves its own text from controlled blur ·
npx hyperframes add blur-in
Result (Kinetic type)
- Anime JP Subtitles — Japanese captions in four anime styles from one subs.json: fansub lines with a karaoke sweep, TV telop with popping letters, a vertical tate ·
git clone https://github.com/vargHQ/code2video-templates && cd code2video-templates/anime-jp-subtitles && bash make.command - Liquid Thorn Logo — Any word as a black-metal chrome logo that a cursor smears with a WebGL fluid. ·
git clone https://github.com/vargHQ/code2video-templates && cd code2video-templates/liquid-thorn-logo && bun render.ts --text "WORD" - Apple Money Count — Apple-style finance counter that counts from $0 to $10,000, flashes green, and bursts money icons with sound. ·
npx hyperframes add apple-money-count
Across the whole video: Captions & subtitles
Generated footage, voice and music
Code renders the layout for free. Anything generated — AI shots, voiceover, music, lip-sync — runs on varg with one key: npx skills add vargHQ/skills --skill varg-ai, the Claude Code plugin claude plugin marketplace add vargHQ/skills && claude plugin install varg@varg, or the MCP https://mcp.varg.ai/mcp.