Shader loop — 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.
A seamless GPU field — gradients, liquid, light — for backgrounds, screens and stages.
Output: Any · 5–30 s loop · Input: A palette and a seed
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.
Field (Shaders, Backgrounds & gradients)
- 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" - Aurora — Green and violet aurora curtains ripple across a night sky. A WebGPU shader from the Shaders library (shaders.com, MIT). ·
npx hyperframes add aurora - Blob — A soft coral and pink blob with a warm highlight slowly changes shape on black. A WebGPU shader from the Shaders library (shaders.com, MIT). ·
npx hyperframes add blob - 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 - Aurora Drift — Three soft accent-derived aurora fields drift in an exact ambient loop over a deep base and faint vignette. ·
npx hyperframes add aurora-drift
Motion (Generative & ASCII)
- 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
Loop (Hooks & utilities)
- Canvas Presentation — The html-in-canvas scaffolding the canvas transitions and scene filters share: support detection, a full-screen WebGL2 shader fed either bot ·
npx shadcn@latest add @remocn/canvas-presentation - Caption Core — The timing engine every caption style shares: pages a timed transcript, finds the word being spoken and how far into it the voice is, and de ·
npx shadcn@latest add @remocn/caption-core - Icons Core — Shared animation contract, pure frame-to-phase timeline, and SVG path-draw helpers for remocn icons. ·
npx shadcn@latest add @remocn/icons-core
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.