Forum Replies Created
-
Filip is brilliant with expressions, so I don’t take anything away from this. But I did want to mention that the free DuIK Bassel.2 from https://rainboxlab.org/tools/duik/ has some really great tools for stuff like rolling, swinging, bouncing, and lots of other cool stuff.
-
Trent Armstrong
September 23, 2020 at 7:37 pm in reply to: Randomly fade up/down opacity of masks in a layerI’m not sure I fully understand what you’re looking for, but seedRandom() will help you set your randomness at the start of the timeline and keep that value through the duration.
Something like this:
seedRandom(index, true);
r = random(0, 100);
-
I guess you could use Set Matte as well. But that doesn’t bring over your color attributes.
-
You are correct. One Text Animator per kerning change. That also means you would need to change all the “kerning” Text Animators if you change your text. It’s a bit of a hassle, but it’s certainly possible.
I guess the other way to do it would be precomposing the text. Is there a particular problem you’re trying to solve that would keep you from doing that?
Trent
-
Hey!
This one always gets me for sure! I don’t think there is an expressions way to transfer the kerning between text layers. It’s possible to use Text Animators to alter the kerning per character and use expressions on the Text Animators to do what you’re talking about. It would take a lot more setup on the front end, but I’m pretty sure it would do what you’re talking about once you have all the attributes linked up.
Trent
-
Trent Armstrong
September 16, 2020 at 2:31 pm in reply to: Instagram resizable text box by line NOT by entire text?Filip, I love how wonderfully simple and perfect your solution is!
Just to get the rounding in the area where the each line touches, I added a Simple Choker set to 26.
-
Hi! I think you might need to explain this in a little bit more detail. And include exactly what you’re trying to accomplish with the new expression.
Thanks
Trent Armstrong – Creative Cow Leader
https://www.dallasaeug.com -
Trent Armstrong
March 8, 2011 at 7:32 pm in reply to: Fade opacity of a 3D shape layer based on distance from another layerFirst, make sure to apply this to the Opacity of each layer that will appear/disappear.
Then make sure it’s looking for the Null instead of a Camera.
Lastly, you’ll need to make sure your distances are appropriate and not too close or too far. Something like StartFade = 150 and endFade = 50. You can judge that or hook up some Expression Control Sliders.
startFade = 150; // Start fade 300 pixels from Null 1
endFade = 50; // End fade 150 pixels from Null 1
try{ // Check whether there is a Null 1
C = thisComp.layer("Null 1").toWorld([0,0,0]);
}catch(err){ // No Null 1C = [thisComp.width * .5, thisComp.height * .5] // Centers effect around middle of Comp
}
P = toWorld(anchorPoint);
d = length(C,P);
linear(d, startFade, endFade, 100, 0)Trent Armstrong – Creative Cow Leader
https://www.dallasaeug.com -
Ahh. The old browser auto-crop of expressions trick. They get me with that all the time!
I loaded it in Firefox and it works. Thanks for the heads-up on browser issues.
Trent
Trent Armstrong – Creative Cow Leader
https://www.dallasaeug.com -
Dan,
I’m having trouble with this one. I’m getting an error “missing )” at line 12. Any thoughts?
Thanks,
TrentTrent Armstrong – Creative Cow Leader
https://www.dallasaeug.com