animate_parts
Create cut-out puppet animations by setting part poses across frames; interpolate motion with pivots, parent links, easing, and looping for Aseprite sprites.
Instructions
Animate a character made of part layers like a cut-out puppet. poses
are key poses: {"frame": 1, "part": "Arm", "angle": -20, "x": 0, "y": 1},
with angle in degrees clockwise and x/y a move in pixels; any
left out are 0. Frames between keys are filled in (easing is smooth
or linear), and with loop the last pose eases back to the first.
pivots maps a part to the [x, y] it turns about (a shoulder, a hip; its
middle by default). parents maps a part to the one it hangs from, so
{"Forearm": "Arm"} keeps the forearm on the arm. Each part is drawn from
its from_frame pixels, turned with RotSprite-style rotation so edges stay
crisp. Frames are added as needed and tagged tag. Check the result with
look_animation and check_loop. One undo step. Headless: pass
file.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"poses": "<poses>",
"frames": "<frames>"
},
"name": "animate_parts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tag | No | move | |
| file | No | ||
| loop | No | ||
| poses | Yes | ||
| easing | No | smooth | |
| frames | Yes | ||
| pivots | No | ||
| parents | No | ||
| from_frame | No | ||
| duration_ms | No |