v1.0.0-rc.2
Functional Properties
We introduced functional properties for advance animations. Instead of a clip value/ Keyframe you can now assign a function.
Example
await composition.add(
new core.ImageClip(new File(...), {
x: (time: core.Timestamp) => time.seconds * 500,
y: (time: core.Timestamp) => time.seconds * 200,
})
);
When used in combination with regular functions, the this
context will be the Clip itself.