camera-3d-captions
БесплатноЗапускает вложенные скриптыНе проверенCaptions living in 3D space around a talking head: a camera flies between the speaker and the words (whip-in, parallax truck, push), caption groups sit at…
от heygen-com★ 312 звёзд на GitHubОб этом скилле
3D camera captions
The After Effects move (3D camera, depth of field, text on a path, Posterize Time 15, motion blur) rebuilt as a deterministic per-frame painter for HyperFrames. One clock paints plate, matte and every glyph. Nothing is a CSS animation.
When to use / when not
- Use on a static-camera talking-head take (avatar or real), landscape, medium shot or wider, 5–20 s per piece. The words must perform in depth around the speaker.
- Do not use for plain subtitles, a moving or handheld camera (the matte and the plate transform assume a locked shot), extreme close-ups (no room behind or around the head), or a subject a person-matting model can't separate.
Requirements and side effects (complete list)
- Tools:
- Node 22+ and the HyperFrames CLI pinned to the tested version,
npx [email protected](downloads fromregistry.npmjs.org). Use that exact version for every command below. ffmpegon PATH.- Python 3 with
fonttools,brotli,numpy,pillow.
- Node 22+ and the HyperFrames CLI pinned to the tested version,
- Matte:
npx [email protected] remove-backgroundruns locally. On first run it downloads its person-segmentation model (~170 MB) to~/.cache/hyperframes/. - Render time: compositions load GSAP 3.14.2 from
cdn.jsdelivr.netat preview/render time. - Word clock: any word-level transcriber the user already runs locally. Onset accuracy matters; plain Whisper starts run late.
- Fonts: user-supplied files. Confirm the licence allows embedding.
- Hand-drawn style (optional): needs the
p5-paint-animationskill installed and set up (its setup downloads pinned puppeteer, Chrome for Testing, p5 and p5.brush).build-sprites.pyruns it headlessly; frames are written to that skill'sout/and removed afterwards. - Nothing else: no credentials, no paid calls, nothing uploaded. Files are written only into the project
(
assets/,renders/).
Prep (once per take)
- Portion and plate.
bash scripts/prep-take.sh <take.mp4> <start_s> <dur_s> <project>/assetsproduces:portion.mp4: the audio source.plate-tall.mp4: reflect-padded 240 px each side, 480 px top, 240 px bottom, so whips, trucks and pull-backs never show an edge.person.webm: the alpha matte, same frames.- The script then checks the plate and matte against the portion (size, frame rate, frame count) and fails on any mismatch.
- Word clock. Word timings for the portion, in seconds from its start.
- Fonts. Pick 2–3 roles (caption / hero / ring), then
python3 scripts/font-metrics.py assets/metrics.js key=font.woff2[@wght=…,opsz=…] ….- A variable font must get its axes passed here AND pinned in CSS (
font-variation-settings,font-optical-sizing: none). Otherwise the browser's opsz follows the size and words overlap.
- A variable font must get its axes passed here AND pinned in CSS (
- Silhouette. Read the head box and shoulder line off the
person.webmalpha before placing anything.
Build
- Copy
assets/kit/{cam3d.js,tables.js,finish.js}andmetrics.jsinto the project'sassets/. references/worked-film.htmlis the complete reference film. It has two shots, a body wipe, both ring types, a fly-through, a finale and the grade; its media is not included.references/recipes.mdholds the depth-first groups, the wrapped ring, the staircase and hand-drawn words.C3.init(metrics, {W, H}):- The lens keeps the tutorial's vertical field of view (F = 1326.1·H/1080), so
tables.jsapplies unscaled at any width. - On a frame wider than 1440, add
(W − 1440) / 2towipe.x.
- The lens keeps the tutorial's vertical field of view (F = 1326.1·H/1080), so
Shot grammar
Pick 4–6 beats. Split each spoken clause into its own group.
| Beat | Build | Rule |
|---|---|---|
| Whip-in punch-in | camA table (19 f from 502 px low) then a linear creep |
plate S0 1.1–1.3; the frame never lands |
| Depth groups | 2–3 caption groups per clause at D 1250 / 1500 / 2200 | near = bigger with a bigger shadow; the creep and truck reveal the parallax |
| Hero behind | hero word in the behind layer at the plate depth, masthead-style across the head | the head hides the middle letters; ≥ 60 % stays legible; the ascender is inside the frame |
| Parallax truck | swing segment, tx 420 |
the old layout fades over 3 steps; the next layout arrives by parallax |
| Body wipe | the speaker's own matte, brightness(0) blur(), leading edge from wipe.x |
shot A clips left of the band, shot B right; pull-out on both sides |
| Wrapped ring | horizontal circle IN FRONT of the speaker (centre Z 2000), 11–16° from above, turning | words enter small at the side as spoken, swing round the front, settle; lower arc flips to read upright |
| Fly-through | phrases at D 1500 / 2000 / 2500, camera swings between them | focus follows the phrase |
| Staircase finale | push segment; caption words each deeper and smaller down a diagonal | the push drives the near words apart |
Rules
- Motion:
- Text is posterized to 15 fps (its own animation and the camera it sees). Plate and matte move every frame.
Установить camera-3d-captions в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл camera-3d-captions?
Captions living in 3D space around a talking head: a camera flies between the speaker and the words (whip-in, parallax truck, push), caption groups sit at different depths so camera moves pull them apart, hero words hide BEHIND the speaker through an alpha matte, a ring of words wraps round the speaker and turns in front of them, focus racks between depths, and text steps at 15 fps with ghost motion blur. Works in any type style (editorial serif, bold sans) or hand-drawn (p5.brush write-on). Trigger on: "3D text", "3D camera captions", "text around / behind the speaker", "camera moves through the text", "depth captions on my avatar video". Covers prep (portion, padded plate, matte, word clock, font metrics), the shot grammar, depth rules, QC, and limits.
Как установить скилл camera-3d-captions?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл camera-3d-captions запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
docx
Use this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include…
от AnthropicUse this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple…
от Anthropicxlsx
Use this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing…
от Anthropicpptx
Use this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or…
от Anthropic