puppet_animate
Build custom keyframe animations for puppet rigs using JSON definitions. Define position, rotation, and scale keyframes for puppet parts.
Instructions
Build a puppet scene with custom keyframe animations.
Args: rigs_json: JSON array of rig definitions animations_json: JSON array of animations: [ { "part": "head", "property": "position", "keyframes": [ {"time": "0s", "value": [0, 200], "interp": "smooth2"}, {"time": "150150/30000s", "value": [20, 210], "interp": "smooth2"}, {"time": "300300/30000s", "value": [0, 200], "interp": "smooth2"} ] }, { "part": "left_arm", "property": "rotation", "keyframes": [ {"time": "0s", "value": 0}, {"time": "150150/30000s", "value": 45}, {"time": "300300/30000s", "value": 0} ] } ] property: "position" (value=[x,y]), "rotation" (value=degrees), "scale" (value=[sx,sy]) interp: "smooth2" (default, ease), "linear", "hold" duration: Scene duration project_name: Project name output_path: Where to save
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rigs_json | Yes | ||
| animations_json | Yes | ||
| duration | No | 300300/30000s | |
| project_name | No | Puppet Animation | |
| output_path | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |