GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Keyframes/js at master · rwarners/Keyframes

Expand file tree

/

js

/
Copy path

Directory actions

More options

More options

Directory actions

More options

More options

Latest commit

 

History

History
History
 
 
/

js

/
Copy path

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
src
src
 
 
.gitignore
.gitignore
 
 
.npmignore
.npmignore
 
 
README.md
README.md
 
 
package.json
package.json
 
 
yarn.lock
yarn.lock
 
 

README.md

Outline

Keyframes JS Source Code

How to export animations from After Effects

See [Keyframes After Effects Scripts/README.html](../Keyframes After Effects Scripts/README.html)


The following are instructions for making changes to the JS code.
You don't need to do any of this stuff if you just want to run the script.

Setup

Use yarn or npm.

Install dependencies.

yarn install

Compile into Keyframes After Effects Scripts.

yarn compile

File watcher, compile every time a file changes.

yarn compile-watch

Run tests.

yarn test

File watcher, run the tests every time a file changes.

yarn test-watch

AECompToKeyframesAnimation

Converts After Effects Comp JSON into Keyframes Animation descriptor JSON.

Usage example: Convert an After Effects Comp JSON file into a Keyframes Animation descriptor JSON file.

var AECompToKeyframesAnimation = require('AECompToKeyframesAnimation');
fs.writeFileSync(exportPath, JSON.stringify(AECompToKeyframesAnimation(fs.readFileSync(importPath))));

Usually this code is used by the Keyframes After Effects Scripts/FB Keyframes Exporter.jsx run by Adobe After Effects. /Keyframes After Effects Scripts/(lib)/keyframes/AECompToKeyframesAnimation.js is a compiled version of this code. Compile using the instructions in the setup section above.

You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.