Skip to content

🛠 Speed up your After Effects expression writing with a library of useful functions

License

Notifications You must be signed in to change notification settings

motiondeveloper/aefunctions

Repository files navigation

🛠 aeFunctions

A library of our most used expressions


✨ View more details on our website: motiondeveloper.com/tools/aefunctions


  • Functions for commonly used expressions
  • Share code across projects and properties

🏗 This project was created with create-expression-lib - our utility for creating and managing After Effects .jsx libraries.


Setup

  1. Download the latest version from the releases page.
  2. Import it into After Effects

Expression

Usage:

const { functionName } = footage('aeFunctions.jsx').sourceData.getFunctions();
functionName(params);

Development

  1. Clone project locally

    git clone https://github.com/motiondeveloper/aeFunctions.git
    cd aeFunctions
  2. Start Rollup

    Start Rollup in watch mode to automatically refresh your code as you make changes, by running:

    npm run watch

    You can run also run a once off build: npm run build

  3. Edit the src files

    The index.ts contains an example expression setup.

    Any values exported from this file will be included in your library, for example:

    export { someValue };
  4. Import the dist file into After Effects

    Use the compiled output file as you would any other .jsx library. Any changes to the src files will be live updated, and After Effects will update the result of your expression.