Camera Scrolls a Long File — effect skill for code & terminal

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 how-to page 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 how-to page.

The view scrolls through a long file and stops with the target line centered and lit.

What it does

Built on Code Scroll To Line by HeyGen (HyperFrames), Apache-2.0. The write-up and recipes below are varg's.

Smooth decelerating scroll with slight motion blur, then a spotlight on the destination line.

When: Walk through a real codebase file or show scale ("this is all generated").

Watch out: Do not scroll at constant speed; ease in and out so the stop is readable.

Timing: Scroll 0.8–1.4 s power3.inOut; spotlight 0.3 s after the stop.

Also called: code scroll, file walkthrough, scroll to line

In FFmpeg

# scroll a tall code image: crop window moves down
-vf "crop=1920:1080:0:'min(ih-1080, t*900)'"

In HyperFrames

npx hyperframes add code-scroll

In Remotion

// npx shadcn@latest add @remocn/glass-code-walk
const y = interpolate(frame,[0,36],[0,-targetLine*lineH + 400],{extrapolateRight:'clamp',easing:Easing.inOut(Easing.cubic)});

In CapCut

Add a tall code screenshot, keyframe Position Y from top to the target with ease-in-out.

Ready-made components

Where this comes from

Use when

Not for

Install

Example output

https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/code-scroll.mp4 — Preview of the Code Scroll To Line component that builds this take (credit: Code Scroll To Line · hyperframes, https://hyperframes.heygen.com/catalog/blocks/code-scroll)

More code & terminal skills

Run the generation on varg

varg is one API key for the models these skills drive — Seedance 2.5, Kling 4, Veo 3.1, Wan 3, Nano Banana 2.1, GPT Image 2.5, ElevenLabs v4 and 200+ more — billed in credits, with a cost estimate before anything runs.