Long clip with slider and expressions random after effects

Post Reply
darknkreepy3#
Site Admin
Posts: 253
Joined: Tue Oct 27, 2009 9:33 pm

Long clip with slider and expressions random after effects

Post by darknkreepy3# »

Import all your clips
Select them all and right click Make New Comp "A". Don't use overlap unless you want to miss some of each clip's timeline
now, make a new comp "B"
drop in the combined comp "A" you first made
add two things to the clip on the new comp

add a slider in effects to it
allow time remapping by right clicking and going to time > allow time remapping

right click the clip "A" instance in Comp "B" and then use animation > add expression

Code: Select all

t=time;
srcLen=thisLayer.source.duration;
rnd1=thisLayer.effect("Slider Control")("Slider").value;
seed1=seedRandom(rnd1,true);
rnd2=random(srcLen);
time2=t+rnd2;
loopBase=Math.floor(time2/srcLen);
loopLeft=time2-(loopBase*srcLen);
//
if(time2>srcLen){loopLeft;}
else{time2;}
once you have this done, you can make a grid of videos in a comp
then you can add this to each comp for each video to have a random effect
use the slider value to change the initial random amount, better than layer # as if you repeat this in copies of a comp or comp effect it will start out the same
with this, it can be very easy to just copy the layer and paste into another clip
or just finish this, and duplicate it for 2x2 4x4 5x5 etc copies, then by hand move the slider for a unique random start point
Post Reply