Move your animation from After Effects to the browser, animated with the Greensock library.
Supports rotation, scaling, opacity and position from After effects.
- Name the layers as class names (e.g.
.circle1
) - Select the layers and properties that you want to export from the timeline
- File -> Scripts -> Run scripts file, and select the ae.jsx file.
- Select the code (double click) that pops up, right click and copy.
<script src="js/ae2gs.js"></script>
var animJson = ""; //Put JSON from After Effects in this var
var animate = new Animation.init(animJson, {repeat: 0});
animate.start();