Converts the keyframes of the selected property in After Effects to a set of SVG path commands that can be used directly in GreenSock's CustomEase plugin. Works on Windows and MacOS.
BETA NOTICE: This script is currently in an early beta. It may not work with all layers and properties. Most of these limitations will be fairly straightforward to overcome, but we wanted to get this script out in public ASASP.
Ever wished you could take your ease curve from the graph editor in After Effects and somehow use it directly in your GSAP animation? Now you can.
- Click here
to download
ae-ease-to-gsap-customease.jsx
, and save it to a place where you can find it again easily.
-
Open your After Effects project.
-
Select the layer whose ease curve you wish to export.
-
Select the property (such as Scale, Opacity, etc) whose ease curve you wish to export.
-
Go to "File > Scripts > Run Script File..."
-
Browser to where you downloaded
ae-ease-to-gsap-customease.jsx
and select it, then click "Open". -
If the script ran successfully, you will see an alert like this:
-
You can now paste the contents of your clipboard directly into a GSAP CustomEase.
To preview your ease, you can paste it into GreenSock's "Ease Visualizer" tool.
In writing this script, I studied code from
I also received guidance from @zlovatt, who made time to answer my beginner questions.