Expressions in After effects.

Introduction.

Expressions.

“When you want to create and link complex animations, but need to avoid creating tens or hundreds of keyframes by hand, try using expressions. An expression is a piece of software – much like a script – that evaluates to a single value for a single layer property at a specific point in time. whereas scripts tell an application to do something, an expression says that a property is something.”

Wiggle expression.

One example of an expression in after effects is the wiggle expression – which makes an object (which has a position that can be animated) move and wiggle around the screen.

To use the wiggle expression, you type:

wiggle(freq,amp) – you need to replace freq and amp with a value.

Frequency (freq) – how often do you want your value (number) to move per second. It gives the shape a ‘jittering’ and ‘vibrating’ effect.

Amplietude (amp) – how much your value is allowed to change above or below the starting line.

for example, wiggle(10,50) would move an object 10 times in a second, with a value of 50.

here is a simple animation i created in after effects using the wiggle() and loopOut() expressions.

here is an assetthat i drew in photoshop and animated in after effects using the wiggle expression. it is based on the bug enemies from the gme hollow knight.

 

Leave a Reply