Mikey Borup has a look at how to create vector trails for shape layers in After Effects. This type of an animated effect can be approached a couple of different ways. Probably the most common would be to use a plying effect, such as the echo effect in Ae.

The problem with the echo effect is that it can be quite intensive on your computer’s resources, which will slow you down.

Here, Mikey shows how to create the same type of effect using expressions in After Effects. This can be a great way to add secondary motion to shape layers in your animation.

Mikey Posts the expressions that are used in the tutorial:

D=Math.sqrt(value[0]*value[0]+value[1]*v­alue[1]);
rot=radiansToDegrees(Math.atan2(value[1]­,value[0]))
XS=transform.scale[0]/100;
YS=transform.scale[1]/100;
TC=Math.cos(degreesToRadians(rotation+ro­t));
TS=Math.sin(degreesToRadians(rotation+ro­t))*.9;
[D*TC*XS,D*TS*YS]+position

1 comment

  1. DMAC

    I always love your tutorials…………the first part of the trails tutorial worked, but the second part, ( rotation, scale ) with all the scary code, did not. I put the code in the Brush Position and all I get is an error. Could I be missing something?

Comments are closed.