# ofxAE **Repository Path**: y0/ofxAE ## Basic Information - **Project Name**: ofxAE - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2018-02-07 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # ofxAE by nariakiiwatani ## Abstract This is a project to make an addon for porting Adobe AfterEffects' composition to openFrameworks realtime animation. Currently so buggy, So I need community help. :) ## Depends on... - [ofxMask](https://github.com/nariakiiwatani/ofxMask "ofxMask") - [ofxJSON](https://github.com/jefftimesten/ofxJSON "ofxJSON") ## Usage... ### Export composition data from AfterEffects 1. Select composition(s) in project pane. 2. execute tool/compExport.jsx (File-->Script-->Execute) and choose a folder to export data. ### Load and play on OF ofApp.h ofxAE::Loader loader_; ofxAE::Composition *composition_; ofApp.cpp void ofApp::setup(){ loader_.setBasePath("exported_folder"); // if needed composition_ = loader_.loadComposition("foo.json"); // this will load from "bin/data/exported_folder/foo.json" composition_->setLoopState(FrameCounter::LOOP_ONEWAY); // if needed } //-------------------------------------------------------------- void ofApp::update(){ composition_->update(); } //-------------------------------------------------------------- void ofApp::draw(){ ofBackground(0); composition_->draw(); } ## The goal is... 1. Drive all features in AE on OF. But of course it's impossible because AE is not for realtime animations. So I want the exporter to be able to select enable/disable with some features. 2. Provide interfaces to operate animations interactively. This is why I decide to make this addon. change image sources, motion loop, add realtime effects,,, 3. Write exporters for various animation softwares. Though this addon is named AE, AE is not only way to make animations. Other softwares will also work if it can export a json file in same format. So it's important to keep independence between AE and OF.