aekit
v1.0.4
Published
A library of reusable functions for After Effects scripting using TypeScript and Bolt CEP.
Downloads
1
Maintainers
Readme
aeKit
A utility library for After Effects ExtendScript development. It provides a set of reusable functions for working with compositions and layers in After Effects.
Installation
npm install aekit
# or
yarn add aekit
Usage
In your ExtendScript file:
var aekit = require("aekit");
var myComp = aekit.comp.find("Main Composition");
var newLayer = aekit.layer.createSolid(
myComp,
"Background",
[1, 0, 0],
1920,
1080,
5
);
var frameCount = aekit.utils.secondsToFrames(5, 30);
Available Functions
aekit.comp.find(name)
: Find a composition by nameaekit.comp.create(name, width, height, duration, frameRate)
: Create a new compositionaekit.layer.find(comp, name)
: Find a layer in a composition by nameaekit.layer.createSolid(comp, name, color, width, height, duration)
: Create a solid layeraekit.utils.secondsToFrames(seconds, fps)
: Convert seconds to framesaekit.utils.framesToSeconds(frames, fps)
: Convert frames to seconds
License
MIT