Head Follow Video: a Website Character That Turns Its Head to the Pointer
- Lab Skill
- v0.2.0
- Web design
Build a hero page where a character turns its whole head to look at the visitor's pointer: SandBase generates a stylized character and a short clip of it turning its head once around a circle, every frame is calibrated to the direction the face points, and the page eases toward the pointer and seeks the paused video to the matching frame. It looks back at the visitor when the pointer rests. The hero is followed by a full landing page: chapter titles, an intro, a product console drawn in HTML, feature cards, specs, stats, a quote, a call to action and a footer, with a moving glow and a floating section pill.
Beispiele · 2

Läuft in einem sandboxed Frame ohne Zugriff auf diese Seite.
Online ausführen
In einer SandBase-Sandbox ausführen und Ihre Ergebnisse in Lab ansehen.
In Lab öffnen ↗Was Sie erhalten
Bring a character idea (or your own picture), your brand, copy, links, language and which side the text goes on. The Skill returns a full landing page (index.html), a section to paste into an existing site, a React component, the calibrated clip and colours taken from the character.
So funktioniert es
- 01
Plan the hero page
Head Follow Video asks for the character, brand, copy, links, language, text side and budget, and plans the page after the hero. It writes site.json with fields such as textSide, brand, copy, translations, palette and idleMs, which is 4000 in the example. node scripts/sample.mjs astro-camp --site site.json --out preview builds a free preview from a ready-made calibrated clip, checked by SHA-256.
- 02
Generate and calibrate
node scripts/generate.mjs --character "<description>" --site site.json --out run prints the plan; adding --confirm-real spends. It calls gpt-image-2 for the character and Seedance 2.0 mini for a 6-second head-circle clip through SandBase, with ffmpeg and ffprobe on PATH. Calibration writes a face direction for every frame, and exits 2 when the clip is unusable.
- 03
Review the head turn
Review run/clip-sheet.jpg, then node scripts/serve.mjs run/site, which supports HTTP Range for seeking. Move the pointer right, below, left and above the head, check that it turns that way, and that it looks back after 4 s idle. The red-panda example calibrated 112 turned-away frames with a largest gap of 9.1 degrees. Hand over run/site/.
FAQ
Is Head Follow Video billed on SandBase?
Yes, Head Follow Video is billed for generation. It calls gpt-image-2 and Seedance 2.0 mini through SandBase, billed to your SandBase account. generate.mjs prints the plan as a dry run and spends only with --confirm-real, and --budget-usd sets a cap. Content-moderation rejections are not charged. sample.mjs, calibrate.mjs, build-web.mjs and serve.mjs are free. Rates are at https://www.sandbase.ai/pricing.
Is Head Follow Video a 3D model?
No. Head Follow Video plays a short video kept paused, eases a direction toward the pointer along the shorter arc and seeks to the frame whose face points that way. Every frame is a keyframe, so each seek decodes one frame. It points the head but has no depth and does not track distance.
Can Head Follow Video use my own clip?
Yes. Head Follow Video calibrates any clip with calibrate.mjs <clip.mp4> --out head.json, then build-web.mjs --video <clip> --cal head.json builds the page for free. The camera and body must stay still while the head turns once around. --image skips the image step, but a local file is uploaded publicly through sandbase upload, so ask first.
What files does Head Follow Video output?
Head Follow Video writes index.html, section.html, HeadFollow.jsx with head-data.json, head-follow.js with no dependencies, head-follow.css with hfv- prefixed classes, landing.js, a fonts folder, media/scrub.mp4, media/poster.jpg and site.resolved.json. The scrub clip is about 4 MB because every frame is a keyframe.
Why does a Head Follow Video clip get rejected?
Head Follow Video's calibration rejects clips that never look one way, barely turn, or move the whole body, and exits with code 2. Generated clips are never perfectly still, and shoulders can drift a few pixels, as on red-panda. Prompt for a locked-off camera and still body, and confirm the cost before retrying.
Does Head Follow Video work on phones?
Yes. Head Follow Video loops the clip on phones until the visitor touches it, then the head follows the finger. It was checked in a 390 px phone viewport with no sideways overflow. Default clips are 720p, so a full-bleed hero on a very wide screen looks soft.
Weitere Skills
Alle Web design Skills →
Baked 3D Story Site
A three-page 3D story site with baked light, scroll stops that loop and a shader cut between pages, in one offline file.

UI Finishes
Metal, jewel, halo, roll, fill, offset and ring buttons, media cards, glass and textures, each checked in rest, hover, focus and pressed for real contrast.

Headline Motion
Headlines, labels and numbers that rise, decode, type, rotate, count and draw themselves without moving the layout, measured in a real browser.

Scroll Chapters
Long pages told chapter by chapter: a pinned stage, sliding panels, a text crawl, lit paragraphs, stacking cards and drifting columns, checked in a real browser for dead scroll.

Scroll 3D Product Site
A complete product website where scroll turns, opens and takes apart a live 3D model, with every video and image rendered from that model, in one offline file.

Landing Page System
A complete single-file landing page with a conversion structure and a shared visual system, checked by a rendered-page audit before delivery.
