Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

perspective-illusion

БесплатноЗапускает вложенные скриптыНе проверен

Make a looping illustrated 3D video in the Japanese perspective-illusion style (e.g. @garments__) of any place, such as a street, crossing, station, shop…

vibe-motionот vibe-motion★ 2 224 звезды на GitHub

Об этом скилле

Perspective illusion

The style, in one paragraph

A level camera on a very long lens (about 2° from 400 m away) flattens a deep scene into what looks like a flat drawing. Then it dolly-zooms: the lens widens while the camera moves in, so the subject stays the same size but the space behind it stretches open. The camera also swings round to corner views. Each one starts flat and opens into 3D. While the view is flat, objects slide in depth where nobody can see it, so when the depth comes back, a row has become a diagonal. Everything is drawn as clean ink line art with flat two-tone shading, hatched cast shadows and a painted sky, and the whole thing loops seamlessly.

Quick start

mkdir -p ~/Movies/edits/<date>-<name>/stills && cd $_
printf '{"type":"module"}' > package.json && npm i [email protected] [email protected]
cp -r ~/simcraft/skills/video/perspective-illusion/templates/* .
cp scramble_night.html scene.html                                # or the closest template (see below), then edit
node render.mjs scene.html x --stills=0.3,1.5,3,6,8.5           # stills of each shot, in stills/
node render_fast.mjs scene.html preview.mp4 --preview            # whole loop, half size, about 1.5 min
node render_fast.mjs scene.html final.mp4                        # full quality, about 30 min for 10 s
python3 ~/simcraft/skills/video/vox-explainer/scripts/motion_check.py final.mp4
python3 ~/simcraft/skills/video/perspective-illusion/scripts/blink_map.py ffmpeg final.mp4 blink.png

Fix things on stills and previews. Render full quality only once the preview is approved. Set $FFMPEG if ffmpeg isn't on the PATH.

Templates

Start from the template closest to the new scene. Keep its camera rig, timeline, post pass and render hooks, and replace only the scene section (everything between // ---------- kit and // ---------- cameras).

Template Scene Renderer
street.html, street_plus.html Day street with poles, cones, a crossing and a red sky. street_plus adds detail and corner views. render_smooth.mjs
market.html, market_real.html A supermarket aisle, drawn and realistic. render_smooth.mjs (market.html: render.mjs)
scramble_night.html A big crossing at night in the rain, with a walking crowd, wet reflections and ad screens. It has every speed-up. render_fast.mjs

For a new scene, scramble_night.html is the best base for the engine, because it is the only one with the fast renderer hooks. Strip its night extras (see reference.md) for a day look.

Step 1: Build a scene that can fool the eye

Any place works if it has these:

  • One long axis. Lay the scene out along -z (a street, an aisle, a platform, a corridor), with the camera looking down it. Depth along this axis is what the telephoto hides.
  • Repeated things at different depths. Poles, lamps, shelves, columns, signs, trees, people. On a long lens they stack into one plane. Lined-up poles merge into one, and sign stacks on far facades pile into one wall.
  • Swap objects. 3 to 6 similar objects (cones, people, bins, chairs, boxes) whose arrangement changes between a row and a diagonal. They can also be drawn larger in the flat view (cs), so the scale reads right when flattened.
  • Real-world scale in metres. The lenses and focus planes only make sense at true scale: a 0.75 m cone, 1.7 m people, a 3.2 m storey.
  • Detail where the corner views look. Every corner view reveals building sides, the backs of objects and the ground. Fill them: side windows, drains, cables, kerbs, the contact shadow under a car. Flat views hide sloppiness and corner views expose it.
  • Make every detail part of one surface (textures, stacked sleeves), or keep separate surfaces at least 0.4 m apart. From 400 m away, surfaces a few centimetres apart flicker.

Step 2: Choreograph the camera

The camera is never tilted. It stays level so verticals stay vertical, like an architect's drawing. Each shot is a plain object:

{ x, y, zf, W, fov, H, el, yaw, lay, cs }

Key Meaning
x, y Camera side position and height (m)
zf, W The focus plane, and the width framed there (m). Keeping W while changing fov is the dolly zoom.
fov Horizontal lens angle. About 2° is flat, 25 to 90° is deep.
H Lens shift: where the horizon sits (-1 bottom, 0 middle, 1 top).
el Look down by raising the camera and shifting the lens, never by tilting.
yaw Swing round the focus point for corner views.
lay, cs Swap-object layout (0 row, 1 diagonal) and their flat-view scale.

Shot vocabulary that works:

Shot Settings
Flat fov about 2, H 0. The whole scene reads as one elevation.
Worm's eye Knee height, fov 90, horizon pushed low (H about -0.7).
High Camera up high on a medium lens, horizon above the frame.
Corner view yaw ±18 to 35°, el 9 to 50°. It comes as a pair: a te
Полный SKILL.md на GitHub

Установить perspective-illusion в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

assets/demo.gifreference.mdscripts/blink_map.pytemplates/cutouts/bottle.pngtemplates/cutouts/can.pngtemplates/cutouts/cat.pngtemplates/cutouts/decora.pngtemplates/cutouts/foxgirl.pngtemplates/cutouts/idols.pngtemplates/cutouts/mecha.pngtemplates/cutouts/nigiri.pngtemplates/cutouts/onigiri.pngtemplates/cutouts/petals.pngtemplates/cutouts/salaryman.pngtemplates/cutouts/sneaker.pngtemplates/market.htmltemplates/market_real.htmltemplates/render.mjstemplates/render_fast.mjstemplates/render_smooth.mjstemplates/scramble_night.htmltemplates/street.htmltemplates/street_plus.html

FAQ

Что делает скилл perspective-illusion?

Make a looping illustrated 3D video in the Japanese perspective-illusion style (e.g. @garments__) of any place, such as a street, crossing, station, shop aisle, room, park or rooftop. A clean line-art scene squashed flat by a telephoto lens opens into deep perspective with dolly zooms, swings round to corner views that first read flat and then turn 3D, and objects quietly swap depth while the view is flat. Use when asked for a perspective or optical-illusion video, a "dolly zoom" or "flat to 3D" loop, an isometric-looking illustrated scene that turns out to be 3D, or to recreate one of these clips.

Как установить скилл perspective-illusion?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл perspective-illusion запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить perspective-illusion с