Forum Replies Created
-
Worked great!
Thanks again, Dan.People say my motion graphics are moving.
-
Actually I thought that was the whole issue, but now I’m hitting another snag when I try to use an audio-to-keyframes layer to control the value of Y-scale.
error: “Expression result must be of dimension 2, not 1”
a = thisComp.layer("audio").effect("Both Channels")("Slider");
[value[0], a];linear(a, 0, 12, 100, 112);
People say my motion graphics are moving.
-
Yup, that worked.
Thanks!People say my motion graphics are moving.
-
Also, just noticing that an amplitude of +100 makes the characters grow from 0, whereas an amplitude of -100 causes them to pop on.
-
Incredible. Works perfectly.
Thank you again! -
Ahhh, 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) -
Yes, 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.
-
Ok, 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. -
I’m getting odd results. My main comp is 10 sec. My precomp layer is time remapped with this expression, but for the first 5 seconds, the time-remap value stays on :25, then a couple times in the last 5 seconds, it changes to a random value, then back to :25.
And the first time remap keyframe of my precomp is also set to hold. Is that wrong? Embarrassed, I think I’m butchering this. -
I want to show a random photo in the precomp for about 3 frames each. (or longer, depending on how it feels), then duplicate the precomp to create a mosaic of randomly cycling images.
With this…
seedRandom(index,true);
freezeTime = random(inPoint,outPoint);
Math.min(time,freezeTime)…it is cycling thru the photos really fast. But I suspect my precomp is setup wrong to make proper use of the expression.
My current workaround was sequencing all the photos in the precomp at 3 frames each. In the main comp, I’m just using a loopOut, and then creating my duplicate precomps and offseting them so they run at different points. I’m sure there’s a much neater, and more random way to do this.