Expressions
Linear
Inverted Rounded Corners Rectangle
Get the number of layers in this comp
Move along the edges of the comp
Move in a square
Move in a circle
Determine Acceleration / Deceleration
Reset path location + ignore transforms
Scripting
Paint ScriptUI StaticText
Paint ScriptUI Panels & Groups
Refresh Panel or Group Graphics
Remove Children from ScriptUI Items
Get / Set Render Chime Preference
JSON functions for expressions
Modulate a number
Clamp Number Or Array of Numbers
Shift, Ctrl, Alt, Key Pressed functions
Contact Gumroad through ExtendScript
Get Project Items By Name
Separate Groups And Properties
Freeze Layer At Time
Filter Color Properties
lerp
Generate a random number
Mouse Object
Useful things to include in your ExtendScript file
True After Effects Color Picker
Dockable ScriptUI Panel
Check Current OS (Win / MacOS)
Smart Property Lookup
Check / Set JavaScript engine
Get the layer of the selected property
Return all existing effects on a layer

Copied!

May 18, 2020
After-Effects expression
Determine Acceleration / Deceleration

When applied to a text layer source text, it will show "+ / - " according to whether the point the expression is looking at is speeding up or slowing down.

Good Boy Ninja
All Tools Sale
For a limited time
9
Days
99
Hours
99
Minutes
99
Seconds
Promo ends 30 Aug, 20:00 UTC
Text Layer
Source Text
Expression

function AccelDeccel(point) {

xResult = "";

yResult = "";

pointVelocity = point.velocity;

pointVelocityLastFrame = point.velocityAtTime(time - thisComp.frameDuration);

xVelocityNow = Math.abs(pointVelocity[0]);

yVelocityNow = Math.abs(pointVelocity[1]);

xVelocityLastFrame = Math.abs(pointVelocityLastFrame[0]);

yVelocityLastFrame = Math.abs(pointVelocityLastFrame[1]);

xResult = (xVelocityNow > xVelocityLastFrame && xVelocityNow) ? "+" : (xVelocityNow < xVelocityLastFrame && xVelocityNow) ? "-" : "";

yResult = (yVelocityNow > yVelocityLastFrame && yVelocityNow) ? "+" : (yVelocityNow < yVelocityLastFrame && yVelocityNow) ? "-" : "";

return [ xResult, yResult ];

}

AccelDeccel(/*pickqhip a point here, like a layer's poition property*/);

Also check out...
Wiggle
Colors
Noodle
shpr
Paths from Nulls