Change opacity precomp layer expression
Hi, I want to control my precomp layers opacity within my maincomp by changing the layername. For example: If my layer name(in the maincomp) is "A" only the layer called "A" in the precomp will show. I...
View ArticleFont Size Expression
I need an expression that would automatically change the font size based on how many characters are typed in. The goal is to fit multi-line text into a bounding box as it's read from the external text...
View ArticleUnfolding Effect
I came across an animation that depicts a series of diagonal lines unfolding like a fan. The artwork is simple enough but I wasn't sure how to build this in after effects and I wondered if there might...
View ArticleHow to calculate the 4 corners of a text layer?
Hello I need to know how to translate the size of a text layer to get the coordinate of his corners. My need is to be able , in an automatic way, to give a solid the size of a text. For exemple if i...
View ArticleFade out on every keyframe
Another newbie question.Tried this expression on a layers opacity: d = Math.abs(time -transform.position.nearestKey(time).time);easeOut(d, 100, 0) The idea was to make the layers opacity go from 100%...
View ArticleExpressions Optimization
I use a lot of expressions - to a point where I sometimes get stack overrun errors in renders, and other glitches. I am wondering if anyone has advice for optimizing expressions and reducing the amount...
View ArticleStart and stop a wiggle at intervels on same layer
I have a dot that fly's around my comp. When it stops it wiggles and buzzes and then stops wiggling. I need it to move on to the next spot and then wiggle again. Then onto the next spot and repeat. I...
View ArticleRandomly rotate layer in specific increments
The random(x) expression is simple enough to randomly rotate a layer to any angle, but what if I want that angle to be to the nearest 45 degrees? So my layer would randomly rotate to any of the...
View Articlefollow a leader with delay
hi i have bunch of layers all distributed in z space.All in a row.So,they have all differenent position data.Now the first layer starts to move towards the camera.After a specific time i.e 1.5 secs i...
View ArticleComp Markers to Time Remap?
Hello, I'm in need of an expression whereby a marker value in one comp will drive/equal the time remap value of another comp. as an example: Within a comp (MarkerComp1), I have a layer (MarkerLayer1)...
View Articlecreate a DNA String/stair out of layers via expression
hi i've got a comp with 2x 25 3d layers.i'd like to create a spiral stair with this layers. let's say i'd like to have a ring of 5 layers and offset all 25 layers in the y axis (layer's height)...
View ArticleAttaching layers to edges of other layers
Here's a mockup of I'd like to do: (click to see animated GIF) The smaller square layer is "attached" to a corner of the larger solid. As the larger solid moves, the square maintains its relative...
View ArticleFeed unique values into effect parameters of duplicated pre-comps?
I have a pre-composition with some fairly complex particle systems that I would like to duplicate multiple times in a final comp. The trick is that I want to apply a unique "position XY" value to the...
View Articlechanging a keyframe's position in time?
Hopefully this is clear. I want to send a person a project. It has a simple 2 keyframe animation. One is a mask property, the other a slider property on the Stroke Effect. I want a way to have the...
View ArticleDisplaying system time (not timecode)
For the life of me, I can't find any Expressions that deal with displaying the current system time using the source text property. What's a good way to get "04:53 PM"? (assuming the time is really...
View ArticleCan I link a path vertex to a position property via an expression?
I want to have curves and lines draw across or between points in a video clip that has hand held camera moves in it. I've motion tracked the points I want to use and assigned the tracking data to a...
View ArticleIntegral Calculus in AE
I'm wondering if there is a way to add the values of a property for every frame before the current time indicator? the relevance to calculus: I'm wondering if there is a procedural way in after effects...
View ArticleBug or wrong expressions ?
I have some problems with expression. I can`t figure out why there`s no shadow on the bigger triangle. Where is the problem ?I appreciate any help.
View ArticleMove Layers starlike
Hey,I`ve 3 Layers with a ellipse maske in the middle (Frame 0).They are exactly on the same position. Now I want to animate them with a slider away from each other in opposite directions.One of them...
View ArticleHow to dynamicly change path text
So im on this assignment where i have 150 copies of the same comp. The only difference in these comps is the names that appear in a text string that i animate with Path text. Since this would take a...
View Article