Activity › Forums › Adobe After Effects Expressions › random freeze frame time remapping
-
random freeze frame time remapping
S.j. Deluise replied 15 years, 2 months ago 4 Members · 17 Replies
-
Dan Ebberts
March 5, 2011 at 6:22 pm>Is that wrong?
Yes. Just disable time remapping and re-enable it and everything should be fine.
Dan
P.S. — You’ll need to re-apply the expression as well.
-
S.j. Deluise
March 5, 2011 at 6:52 pmOk, Time-remap reapplied without the held keyframe, as well as expression.
Still something wrong. Maybe it’s my precomp?
It’s 23-frames long, with 23 one-frame images sequenced. -
Dan Ebberts
March 5, 2011 at 7:23 pmHave you left the keyframes untouched, but extended the length of the layer?
Dan
-
Dan Ebberts
March 5, 2011 at 7:30 pmtry changing the last line of the expression to this:
freezeTime = random(inPoint,key(2).time – thisComp.frameDuration)
Dan
-
S.j. Deluise
March 5, 2011 at 7:43 pmYes, exactly that.
But I just noticed something, a possible clue. If I don’t extend the length of the layer, it’s working. I even changed ‘freezeFrames’ to 6 and the speed is changing, which is good.But once I extend the layer, it stops randomizing. The time remap value is predominantly :22 (the last frame of the precomp) and it shows no image, just empty.
-
Dan Ebberts
March 5, 2011 at 7:54 pmSorry, my previous post was out of sequence. Maybe you missed this:
try changing the last line of the expression to this:
freezeTime = random(inPoint,key(2).time – thisComp.frameDuration)
Dan
-
S.j. Deluise
March 5, 2011 at 10:01 pmAhhh, I did miss it, and that was indeed the magic ingredient.
I tip my hat to your brilliance and assistance. Thanks so much, this works like a charm.freezeFrames = 3;
seed = Math.floor((time – inPoint)/framesToTime(freezeFrames));
seedRandom(seed,true);
freezeTime = random(inPoint,key(2).time – thisComp.frameDuration)
Reply to this Discussion! Login or Sign Up