ae-read-curves
Read After Effects curves exported by ae-export-curves
Example
Example on https://pqml.github.io/ae-read-curves
Features
- Read curves exported by ae-export-curves
- Get property values at a precise time, with the
seek()
function - Tiny module, < 1ko gziped
Module Installation & Usage
Installation from npm
# using npm $ npm install --save ae-read-curves # or using yarn $ yarn add ae-read-curves
Usage with a module bundler
// using ES6 module // using CommonJS moduleconst readCurves = const comp = console // get duration of the compositionconsole // get width of the compositionconsole // get height of the composition comp // go to the middle of the composition timelineconsole // get translateX property value at 0.5 progress
Usage from a browser
Development commands
npm install
- Install all npm dependenciesnpm run start
- Start the dev server with livereload on the example foldernpm run build
- Bundle your library in CJS / UMD / ESMnpm run deploy
- Deploy your example folder on a gh-page branchnpm run test
- Lint your js inside the src folder
License
MIT.