aekit

1.0.4 • Public • Published

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 name
  • aekit.comp.create(name, width, height, duration, frameRate): Create a new composition
  • aekit.layer.find(comp, name): Find a layer in a composition by name
  • aekit.layer.createSolid(comp, name, color, width, height, duration): Create a solid layer
  • aekit.utils.secondsToFrames(seconds, fps): Convert seconds to frames
  • aekit.utils.framesToSeconds(frames, fps): Convert frames to seconds

License

MIT

Dependents (0)

Package Sidebar

Install

npm i aekit

Weekly Downloads

1

Version

1.0.4

License

MIT

Unpacked Size

11.9 kB

Total Files

10

Last publish

Collaborators

  • itsnahmias