create_custom_animation
Generate a multi-object animated video from scratch. Define shapes and text, then animate position, rotation, scale, opacity, and size with mathematical expressions.
Instructions
Create a complete multi-object animated video from scratch.
This is a general-purpose procedural animation engine.
Multiple objects can exist in the same scene.
Supported object types: circle rectangle line triangle ellipse text
Every object can independently animate: x y rotation scale opacity size
Animation values can use expressions involving: t sin() cos() tan() abs() sqrt() pi()
Example:
{ "type": "circle", "x": { "expression": "300 + 100sin(t4)" }, "y": 300, "radius": 40, "color": "#ffffff" }
Objects are rendered in list order. Later objects appear on top of earlier objects.
This allows complex scenes such as: stick figures cars rockets planets bouncing balls animated logos simple characters UI animations kinetic typography
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fps | No | ||
| width | No | ||
| height | No | ||
| objects | No | ||
| duration | No | ||
| background | No | #101018 | |
| output_name | No | custom_animation |