Creative COW SIGN IN :: SPONSORS :: ADVERTISING :: ABOUT US :: CONTACT US
Creative COW's LinkedIn GroupCreative COW's Facebook PageCreative COW on TwitterCreative COW's Google+ PageCreative COW on YouTube
ADOBE AFTER EFFECTS:HomeForumBasicsExpressionsTutorialsPodcastsAE TechniquesTrainingCreative Cloud DebateFAQ

Re: radnom timeline marker

COW Forums : Adobe After Effects Expressions

FAQ   •   VIEW ALL   •   ADD A NEW POST   •   PRINT
Share on Facebook
Respond to this post   •   Return to posts index   •   Read entire thread


Xinlai NiRe: radnom timeline marker
by on Oct 22, 2009 at 4:27:58 pm

Expression can't achieve what you have described, a script can do it fairly well. In the script:
1. Create a new empty comp that will contain all 64 clips.
2. Create an integer array of 64 elements, randomly permute their indices, e.g., array[0] = 24, array[1] = 3, ..., array[63]=5.
3. Loop to create layer and set their in-points, pseudo code:
var lastInPoint = 0;
for (i = 0; i < 64; ++i) {
// create layer using clip[array[i]]
// set this layer's inPoint to lastInpoint
// lastInpoint += this clip's duration
// place this layer to the comp in the desired 'grid' position
}

The above script has the limitation that the comp will show only one clip at a time with all other clips invisible, as opposed to be showing the first/last frame.

Xinlai Ni
Software Engineer, Google Inc.


Posts IndexRead Thread
Reply   Like  
Share on Facebook


Current Message Thread:




LOGIN TO REPLY



FORUMSTUTORIALSMAGAZINESTOCKYARDVIDEOSPODCASTSEVENTSSERVICESNEWSLETTERNEWSBLOGS

Creative COW LinkedIn Group Creative COW Facebook Page Creative COW on Twitter
© 2013 CreativeCOW.net All rights are reserved. - Privacy Policy

[Top]