SIGN IN
::
SPONSORS
::
ADVERTISING
::
ABOUT US
::
CONTACT US
FORUMS
TUTORIALS
MAGAZINE
STOCKYARD
VIDEOS
PODCASTS
EVENTS
SERVICES
NEWSLETTER
NEWS
BLOGS
ADOBE AFTER EFFECTS:
Home
Forum
Basics
Expressions
Tutorials
Podcasts
AE Techniques
Training
Creative Cloud Debate
FAQ
Re: radnom timeline marker
COW Forums
:
Adobe After Effects Expressions
FAQ
•
VIEW ALL
•
ADD A NEW POST
•
PRINT
Respond to this post
•
Return to posts index
•
Read entire thread
Re: radnom timeline marker
by
Xinlai Ni
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 Index
Read Thread
Reply
Like
Current Message Thread:
radnom timeline marker
by Dave Baum on Oct 22, 2009 at 1:11:38 pm
Re: radnom timeline marker
by Xinlai Ni on Oct 22, 2009 at 4:27:58 pm
Re: radnom timeline marker
by Dan Ebberts on Oct 22, 2009 at 6:53:57 pm
Re: radnom timeline marker
by Dave Baum on Oct 23, 2009 at 11:11:05 am
Re: radnom timeline marker
by Dave Baum on Oct 23, 2009 at 11:53:41 am
Re: radnom timeline marker
by Dan Ebberts on Oct 23, 2009 at 6:16:03 pm
Re: radnom timeline marker
by Dave Baum on Oct 26, 2009 at 9:50:47 am
Re: radnom timeline marker
by Dan Ebberts on Oct 26, 2009 at 1:51:15 pm
Re: radnom timeline marker
by Dave Baum on Oct 27, 2009 at 1:11:04 pm
Re: radnom timeline marker
by Dan Ebberts on Oct 27, 2009 at 4:04:08 pm
Re: random timeline marker
by Dave Baum on Oct 28, 2009 at 2:21:33 pm
Re: random timeline marker
by Dan Ebberts on Oct 28, 2009 at 2:55:50 pm
Re: random timeline marker
by Dave Baum on Oct 28, 2009 at 3:46:27 pm
LOGIN TO REPLY
FORUMS
•
TUTORIALS
•
MAGAZINE
•
STOCKYARD
•
VIDEOS
•
PODCASTS
•
EVENTS
•
SERVICES
•
NEWSLETTER
•
NEWS
•
BLOGS
© 2013
CreativeCOW.net
All rights are reserved. -
Privacy Policy
[
Top
]