Skip to content

Instantly share code, notes, and snippets.

@Arslan-TR
Last active February 2, 2021 08:45
Show Gist options
  • Save Arslan-TR/c0af3d4dae8cd282f544d645e9a3dad9 to your computer and use it in GitHub Desktop.
Save Arslan-TR/c0af3d4dae8cd282f544d645e9a3dad9 to your computer and use it in GitHub Desktop.
After effects Linear expression (Value transformation)
//Usage:
linear(t, tMin, tMax, value1, value2)
//example 1 #invert value referance to a source:
source= thisComp.layer("Layer 1").transform.opacity; //link a slider/value for source;
linear(source,0,100,100,0)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment