Keyform Studio Animation JSON
БесплатноЗапускает вложенные скриптыНе проверенGenerate and validate VASF JSON animations for import into Keyform Studio. Use when asked to create an animation JSON, a "vasf" file, a Keyform Studio…
от xiaohequ406 установок в других каталогахОб этом скилле
Generate VASF animation JSON
Produce ONE JSON file describing a 2D animation. The user imports it into Keyform Studio (home ▸ "Import a JSON file" creates a new project; Studio ▸ Shapes ▸ "Import a VASF as instance…" inserts a skeleton into the current project). The importer is strict and reports every problem in French with its path.
references/vasf-example.json is a complete, importable animation that
exercises every feature below — copy its patterns.
Top level
{
"version": 6,
"name": "My animation",
"canvas": {"width": 720, "height": 1280, "fps": 25, "background": "#14161C"},
"theme": {"peau": "#FFE3C2"},
"defs": {"main": {"type": "circle", "width": 56, "height": 56}},
"groups": [{"name": "Head"}],
"shapes": [ ... ],
"skeleton": { ... }
}
| field | default | notes |
|---|---|---|
| version | required | 1–6; use the highest extension you need |
| name | "Animation importée" | project name |
| canvas.width / height | 720 / 1280 | 16…4096 |
| canvas.fps | 25 | 5…60 |
| canvas.background | #14161C |
scene background, or "$alias" |
| theme | — | v2 color palette: {"alias": "#RRGGBB"} |
| defs | — | v2 reusable primitive definitions |
| groups | — | v6 element groups |
| shapes | required, ≥ 1 | draw order = array order (first = background) |
| skeleton | — | presence switches the project to skeleton type |
Coordinates: origin top-left, x → right, y → down, positive degrees =
clockwise. Time in seconds, angles in degrees, colors #RRGGBB /
#AARRGGBB.
Shape
{
"name": "Bloc", "type": "rect", "color": "#FF5C5C",
"filled": true, "strokeWidth": 4, "width": 110, "height": 110,
"start": 0, "end": 2, "x": 180, "y": 320,
"rotation": 0, "scale": 1, "opacity": 1,
"keyframes": [ ... ]
}
| field | default | notes |
|---|---|---|
| name | "Forme" | unique; duplicates are auto-renamed "X 2" |
| type | "rect" | rect, circle, line, path, triangle, star, hexagon, cross, heart, arrow |
| color | #5B8DEF |
fill/stroke color |
| filled | true | false = outline only |
| strokeWidth | 4 | outline thickness (used when filled=false, always for line) |
| width / height | 110 | primitive size; ignored for path (derived from points) |
| points | — | path only: [x, y] pairs around the shape center, ≥ 2, auto-closed |
| start / end | 0 / latest other end, else 4 | visibility window in seconds; end > start |
| x / y | canvas center | base position of the shape center |
| rotation | 0 | base rotation, degrees |
| scale | 1 | base scale (0.05–4 recommended) |
| scaleX / scaleY | 1 | v2 axis factors — effective scale = scale × factor |
| pivot | [0, 0] |
v2 [dx, dy] offset from the shape center, in shape units; rotation and scale turn around it (STATIC) |
| opacity | 1 | 0–1 |
| layers | — | v2 array of primitives (overrides the flat geometry fields) |
| cornerRadius | absent = auto | v5 explicit rectangle radius; 0 = square corners |
| roundTopLeft / roundTopRight / roundBottomRight / roundBottomLeft | true | v5 per-corner switches |
| ref | — | v2 name of a defs entry used as geometry defaults |
| bone | — | whole-shape binding shortcut (same as one bind entry) |
| cycle | — | v2 {"repeat": N} repeats the keyframe pattern |
| keyframes | — | see below |
Shape keyframe
{"t": 0, "x": 180, "y": 320, "rotation": 0, "scale": 1, "opacity": 1,
"strokeWidth": 1, "easing": "easeInOut"}
tseconds ≥ 0, sorted automatically; a keyframe pastendextends it.easing= curve of the segment ARRIVING at this keyframe:linear,easeIn,easeOut,easeInOut(default),step, or a CSS chain"cubic-bezier(x1, y1, x2, y2)".- Any of
x, y, rotation, scale, opacity, strokeWidthmay be omitted and is carried from the previous keyframe (or the base pose). v2 addsscaleX/scaleY.strokeWidthhere animates the stroke factor (visible stroke =strokeWidth× factor). - Keyframes are poses: each property interpolates independently.
Skeleton
{
"name": "Rat",
"bones": [
{"name": "Bras", "joint": [100, 320], "angle": 0, "length": 100},
{"name": "Avant-bras", "parent": "Bras", "joint": [200, 420],
"angle": 90, "length": 80, "z": 0, "ik": false, "bend": 1}
],
"bind": {"Bloc": "Bras"},
"keyframes": [
{"bone": "Bras", "t": 0.5, "angle": -30, "easing": "easeInOut",
"opacity": 0.5, "stretch": 1.2, "squash": 1}
]
}
| field | default | notes |
|---|---|---|
| name | "Squelette" | rig name |
| bones | required, ≥ 1 | parents must be listed before their children |
| bone.name | required | unique |
| bone.joint | required [x, y] |
joint position in world canvas coords, at rest |
| bone.angle | 0 | world rest angle, degrees |
| bone.length | 80 | bone length, > 0 |
| bone.parent | none | parent bone NAME |
| bone.z | 0 | draw order of the pieces carried by this bone (−10…10) |
| bone.ik | false | IK chain ROOT: dragging the chai |
Установить Keyform Studio Animation JSON в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл Keyform Studio Animation JSON?
Generate and validate VASF JSON animations for import into Keyform Studio. Use when asked to create an animation JSON, a "vasf" file, a Keyform Studio animation, or to fix a JSON rejected by the importer.
Как установить скилл Keyform Studio Animation JSON?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл Keyform Studio Animation JSON запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic