An ultimate guide to looping footage and compositions

Here’s another Adobe After Effects tutorial for you.  I created this tutorial after spotting quite a few posts from people new to AE who didn’t know about the options.  Then I started trying to come up with an utlimate, time-saving, plug-and-play expression that would take care of loop compositions for you.

And I succeeded!

I know, it suprised me as well!

Here’s the video which takes you through everything and underneath you find the expressions:


Project file: http://bit.ly/36orXbW


Expressions used:
Basic method for Time Remapping: loopOut()

Ultimate method – Time Remapping:
tEnd = timeRemap.key(2);
loopOutDuration(type = “cycle”, duration = tEnd*1.8)

For auto-fading opacity:
t = timeRemap;
tEnd = t.key(2);

OriginalLengthofPreComp = tEnd.value;
CurrentLoopTimeAsPercentofOriginalPreComp = t*100/OriginalLengthofPreComp;

if (CurrentLoopTimeAsPercentofOriginalPreComp > 10) {
CurrentLoopTimeAsPercentofOriginalPreComp*10;
} else if (CurrentLoopTimeAsPercentofOriginalPreComp > 90) {
linear(CurrentLoopTimeAsPercentofOriginalPreComp,90,100,100,0)
} else {
100
}

Published by ShiveringCactus

Tutorials and videos, mainly After Effects, but with some 3D and puppetry stuff too.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: