@omnimedia/omnitool
Version:
open source video processing tools
25 lines • 854 B
JavaScript
export const visualAnimations = {
transform: {
type: "transform",
defaultTerp: "linear",
channels: [
{ path: "position.x", type: "number", default: 0, unit: "pixel" },
{ path: "position.y", type: "number", default: 0, unit: "pixel" },
{ path: "scale.x", type: "number", default: 1, unit: "scale" },
{ path: "scale.y", type: "number", default: 1, unit: "scale" },
{ path: "rotation", type: "number", default: 0, unit: "degree" },
],
},
opacity: {
type: "scalar",
defaultTerp: "linear",
channels: [
{ type: "number", default: 1, unit: "ratio", range: [0, 1] },
],
},
};
// const audioAnimations = {}
export const animatableProperties = {
...visualAnimations,
};
//# sourceMappingURL=properties.js.map