motion graphics eXchange

Looping images randomly

Thumbnail for: Looping images randomly
Ever wanted to have a series of images/frames looping randomly?
After Effects CS3
Useful things

Views: 13859
visit |  share this  error? 
Just apply this time remapping expression.
You just have to edit the first line to match your number. This is one of those expressions that has to recalculate what's happened on each previous frame, so it might bog down if your comp is fairly long.
nFrames = 10;
n = Math.floor(random(nFrames));
f = timeToFrames();
for (i = 0; i < f; i++){
  n += 1 +Math.floor(random(nFrames-1));
  n %= nFrames;
by Dan Ebberts


loop, image, frame, random

(Min. Version: After Effects CS3, Category: Useful things, Type: Expressions)
posted by MicGyver on Feb 21, 2010


Related topics:

Looping wiggle() - Dan Ebberts's

Sometimes though, it would be extremely useful to be able to get the wiggle motion to loop. Here we'll take a look at a way to accomplish this by using a bit of clever math and taking advantage of one of wiggle()'s seldom used parameters.
After Effects 6
Useful things

Views: 6618
posted by MicGyver on Sep 08, 2008

Copy Image Plug-in

Thumbnail for: Copy Image Plug-in
A simple utility that copies the current composition image to the System Clipboard, allowing easy pasting into other image applications (such as Photoshop). It bypasses the task of saving the current frame to an image file and then reopening.
After Effects 6.5
Useful things

Views: 6632
posted by Dan Johansson on Sep 20, 2008

Difference Matte Effect Tutorial

Thumbnail for: Difference Matte Effect Tutorial
The Difference Matte effect creates a transparency a mask or a matte by comparing the pixels in a source layer with the pixel in a defined difference layer, and then keying out (eliminating) pixels in the source layer that match both the position and color in the difference layer.
After Effects 7

Views: 24462
posted by peter17 on Sep 29, 2008



follow us on in touch on facebook