Kevin Camp
Forum Replies Created
-
try this:
fill the middle of the O so it is solid and then use a track matte to cut a new hole in it.
then apply wave warp to the track matte.to remove the center, you might try converting the text to shapes. then twirl down the contents to find the O and hide the center shape. then you can duplicate that layer, and hide everything except the center of the O and use that as the track matte….
Kevin Camp
Art Director
KCPQ, KZJO & KRCW -
maybe something like this:
cam = thisComp.layer(“Camera 1”);
value + [ 0, 0, cam.position[2] / 2 ]you could also just animate the z-positions of the text layers.
Kevin Camp
Art Director
KCPQ, KZJO & KRCW -
simply typing time into the expression field for the slider will change the value from 0 to 100 over 100 seconds… typing time * 10 will make it go 10 times faster (0 to 100 in 1seconds).
if you have more specific details, we can try to show you had to get what you need… like what duration you need it to animate, does it need to start at a certain point, or loop back when it hits 100, or hold at 100,
Kevin Camp
Art Director
KCPQ, KZJO & KRCW -
Math.atan2(y,x) is the function that you are looking for.
to get an angle from the ramp effect’s start and end points, try this:
L = thisComp.layer("Layer with Ramp Effect");
p1 = L.effect("Gradient Ramp")("Start of Ramp");
p2 = L.effect("Gradient Ramp")("End of Ramp");
p = p2 - p1;
radiansToDegrees( Math.atan2( p[1], p[0] ) );depending on where you want zero degrees to start, you may need to add or subtract 90 degrees (currently zero is pointing right)
Kevin Camp
Art Director
KCPQ, KZJO & KRCW -
to constrain the proportions, you just need to use the same value for x and y scale… if you wanted to fit to either the height or width, you could use a Math.min() function .
// grab sourceRect based on layer time
R = sourceRectAtTime(sourceTime(time), true);// calculate scale relative to comp
w = thisComp.layer("Shape Layer 1").content("Rectangle Path 1").size[0] / R.width * 100;
h = thisComp.layer("Shape Layer 1").content("Rectangle Path 1").size[1] / R.height * 100;s = Math.min ( w, h );
[ s, s ]
Kevin Camp
Art Director
KCPQ, KZJO & KRCW -
Kevin Camp
June 1, 2017 at 8:27 pm in reply to: Expression selectors to maintain multiple text formattingThe Q’s not too bad… though Laura, Jana and ile have left.. and then there’s the Sinclair thing, we’ll see how that pans out.
I think it’s going to be really hard to do this using either a character offset or character change animator…. can you use separate text layers (day, time, timezone) and then use sourceRectAtTime() to keep the spacing between them regular? or is there something more complicated going on…?
Kevin Camp
Art Director
KCPQ, KZJO & KRCW -
Kevin Camp
May 31, 2017 at 9:33 pm in reply to: Expression selectors to maintain multiple text formattingHey Jeff!
you can use textIndex to isolate a character, compare it to a condition and then do something…
try adding a character value animator to a text layer and set the character value to 35 (#). then add an expression selector and add this to the expression selector amount:
txt = text.sourceText;
if ( txt[ textIndex - 1 ] == "$" ) 100 else 0;
if your text string contains a $ it should get changed to a #.you mention formatting, so i’m not sure this is really what you are after, but maybe it will point you in the right direction…
Kevin Camp
Art Director
KCPQ, KZJO & KRCW -
my best guess is that it was a mistake.. they may have been looking at it with the blending mode and without, and at some point decided to go one way, but then changed their minds and some of them didn’t get changed.
Kevin Camp
Art Director
KCPQ, KZJO & KRCW -
some of the pre-comps with the text have the blending mode set to ‘add’, which will make white opaque and black transparent, and any shades in-between will be translucent.
to track down those layers, from the main comp, double-click a scene comp. then double-click a parallax comp. find the ‘text animation’ comp in the that parallax comp and make sure the blending mode is set to normal. now if you have any dark layer behind the text in any of the TextAnimaition or text comps, you should see it in the later comps (like the Main comp).
or, you could add the dark layer behind the textAnimation comp in each of the parallax comps, and leave the blending modes alone.
Kevin Camp
Art Director
KCPQ, KZJO & KRCW -
part of the effect looks like ‘cartoonification’, though it probably goes by other terms.
it also appears that they mixed in a pixelation effect like cell pattern.
Kevin Camp
Art Director
KCPQ, KZJO & KRCW