# 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 `.md` to 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

- [Paper Shaders Backgrounds](https://skills.varg.ai/skills/craft-paper-shaders.md)
- [WebGPU Three.js TSL](https://skills.varg.ai/skills/dgreenheck-webgpu-threejs-tsl.md)

## 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](https://skills.varg.ai/component/varg.liquid-thorn-logo.md) — 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](https://skills.varg.ai/component/hf.aurora.md) — 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](https://skills.varg.ai/component/hf.blob.md) — 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](https://skills.varg.ai/component/hf.ascii-trail-reveal.md) — 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](https://skills.varg.ai/component/hf.aurora-drift.md) — 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](https://skills.varg.ai/component/hf.ascii-render-pass.md) — 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](https://skills.varg.ai/component/hf.ascii-trail-reveal.md) — 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](https://skills.varg.ai/component/hf.code-shader-dissolve.md) — 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](https://skills.varg.ai/component/remocn.canvas-presentation.md) — 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](https://skills.varg.ai/component/remocn.caption-core.md) — 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](https://skills.varg.ai/component/remocn.icons-core.md) — 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`.
