I'm using this repo as a place to store expression snippits that I think are worth saving for later.
Right now, I'm storing them in markdown files in the expressions folder in this repo, but might get around to doing more organizing at some point.
- Position for Grid Layout - A position expression that can be used to layout a bunch of objects into a grid with spacing controlled by a single slider.
- Sample Layermap Brightness - Best if used with Grid Layout, this expression samples the luma value of a given layer and uses that value to drive whatever property you apply it to. Basically, it's a custom layer map system like in Trapcode's form.
- Global position of parented layer - Quick little expression for how to get the global [x,y] position value of a layer that is parented to another layer.
- Respecting Aspect Ratio - Returns a Y value based on an X value that maintains a ratio of X:Y that matches the compositions aspect ratio. Great for the mosiac plugin for getting square "pixels"
- 2d LookAt - Effects the rotation of a layer so that it "looks at" another layer in 2D.
- Posterize Tweens - Drops the framerate of a single property, so you can have a single layer playing at a lowerframerate than the comp it's in. Acts like Posterize time, but for a single keyframed property's value.
- Looped Wiggle - Allows you to have a wiggle expression seamlessly loop for a set number of seconds.
- Integrating Area Under the Curve by Dan Ebberts - A good walkthrough of how to use the area under a speed curve to adjust speed and frequency of properties cleanly with expressions.
- No Sleep Creative Expression Wizardry - A nice wiki filled with good expression tips by Desmond Du.
- Expression Docs - General use reference for expressions.
- Official Adobe AE Expression Help Page - Official AE Help page on expressions.
- Anatomy of a Path - A great breakdown of how to manipulate path points with expressions.