Create keyframe animation
create_keyframe_animationAnimate parameters along a keyframed curve synced to the timeline for structured motion beyond continuous LFO oscillation. Provide time/value keyframes and target parameters; the tool creates an interpolated animation that loops or holds.
Instructions
Animate parameters along a keyframed curve synced to the timeline — structured motion beyond animate_parameter's LFO (use animate_parameter instead for continuous LFO oscillation). Give time/value keyframes and the targets; this creates a baseCOMP 'keyframe_anim' under parent_path containing an Execute DAT that interpolates the curve each frame (linear or smooth easing) and writes the value onto every target parameter, looping over the keyframe span (or holding the last value). Use it for choreographed moves (a build-up, a drop, a sweep). Returns a summary plus a JSON block with the container path, the Execute DAT (hook) path, the loop duration, the targets, and warnings (including any targets that did not resolve). Returns a friendly error if the keyframes do not span a positive duration.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| targets | Yes | Parameters to animate, each written as 'nodePath.parName'. | |
| keyframes | Yes | Keyframes (time + value); the curve interpolates between them in order. | |
| loop | No | Loop the animation; otherwise it holds the last value. | |
| easing | No | Interpolation between keys: linear, or smooth (eased) for organic motion. | smooth |
| parent_path | No | Parent network where the keyframe-animation container (a baseCOMP) is created (default '/project1'). | /project1 |