Created
February 28, 2019 15:15
-
-
Save animoplex/e7c62fbfe35ee5345680b235b5b428ea to your computer and use it in GitHub Desktop.
Z Offset Using Radius - After Effects Expression by Animoplex
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Z Offset Using Radius - Created by Animoplex: www.animoplex.com | |
// First line is the source of the offset, apply to position value on a grid of shapes | |
tar = thisComp.layer("TARGET").toWorld([0,0,0]); | |
rad = 100; // radius | |
mov = 500; // pixels of movement | |
dis = length(tar, toWorld([0,0,0])); | |
end = [value[0], value[1], value[2] + mov]; | |
ease(dis, 0, rad, end, value) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment