motion graphics eXchange
top

Looping images randomly

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

Views: 6835
Permalink
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;
seedRandom(index,true);
n = Math.floor(random(nFrames));
f = timeToFrames();
for (i = 0; i < f; i++){
  n += 1 +Math.floor(random(nFrames-1));
  n %= nFrames;
}
framesToTime(n)
by Dan Ebberts

Keywords

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
Expressions

Views: 3260
Permalink
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
Plugins

Views: 4023
Permalink
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
Keying
Video-/Tutorials

Views: 19500
Permalink
posted by peter17 on Sep 29, 2008


 

 

follow us on http://twitter.com/mgxchangegoogle+get in touch on facebook

 

 

Full length video training series presented by motion graphics industry professionals. Click here to visit Motionworks website!