Appending a "%" to numbers from a string
I have an expression that is working in animating a percentage based on a slider control. n=thisComp.layer("Null 1").effect("Pie Slice 2")("Slider") nRound=Math.round(n*10)/10; check = nRound % 1 if...
View ArticleMath.round for Shape layers to land on whole pixels?
Trying to keep my shape layers on whole pixels to avoid subpixel blurring. For one-dimensional properties, this works fine: Math.round(value); But for two dimensional props, I'm running into errors...
View ArticleInterpolating between Shape/Mask Paths
Hi, At 1:48 in this video, http://vimeo.com/36068222, this animator has the character's face moving horizontally by animating a mask. Looks pretty easy to do. What I'm wondering, is whether it's...
View Article3D WARP/3DBEND: geometry expression no show?
"3D warp" as seen on tv.adobe "What's New", does not seem to be available on my version of CS6 AE (from disk). I'm not getting the geometry option even though,I have the 3D box checked and it is a...
View Article"slider wiggle"=? in french ??
Hello, i'm novice. I'm working on a project, but there is not the same AE version. I'm french.I have a error message, because AE can't found the 'slider' effect. It's a language problem.I understand...
View ArticleExpression error using checkbox control
I'm trying, for the first time, to create an expression that controls a value depending on whether or not a keyed checkbox is on. This is my code. x = comp("overlay...
View ArticleMaking the wheels of a car roll right
I have a photo of a car with the wheels separated, and I want to find an expression or something that will help make the wheels look like they are rotating at the right speed. Any suggestions? I have...
View ArticleTime Remap Expression
hi there I'm doing an Airport destination panel animation.I've got a Composition called 'Flip' with Time Remap enabled.Here takes place the whole 'fliping' animation. This comp has got a Text Layer...
View ArticleHow can I use layer axis versus world axis to animate?
Hi all, I'm open to alternate ways to approach this. I'm trying to create a sphere using several images. Say, 200 images, arranged in 3d space so they face outwards and are all forming one large...
View ArticleHaw to maintain adio layer linked to an effect property after replacing the...
Hy, i have an effect applied to a layer and a certain property of that effect (turbulent displace) is controlled by the "both channels" af my audio layer / audio amplitude generated layer. What i need...
View ArticleSliding a sequence
I just can imagine to do this with expressions, or i am missing something. Three layers composition: at the point the first one finishes, second one begins,at the point the second one finishes, third...
View Articlewiggler expression for position
I want to have a random movement on a layer using the a wiggle expression but I only want it on one axis.Using this:wiggle(1,50)makes it pop around on the screen, so what do I need to add to this to...
View ArticleHelp with invalid expression
In the book by Marcus Geduld "AfterEffectsExpressions" there is an example (p.145) that reads: effect("4-Color Gradient").param(propertyIndex - 2).valueAtTime(time - .5) This is an expression applied...
View Articleposition.velocity NOT working
Hi,I wrote preset with expressions in AE cs4 and it was calculating the direction of layer's motion.It worked perfectly in CS4.In CS5 the resulting vector very often has a length of 0 - especially with...
View ArticleUnpause animation if key value equals X
tldr: I need an expression that plays a sequence of images on a layer (and leave it on the last image) when the value of a key (keyframe?) in another layer of the same comp equals a specific value. 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 ArticleCamera Zoom Expression
Hi All, I've been recently using a workflow I quite like to create hundreds or thousands of instances of a 3D object in AE, and I'd like to take some of the guesswork out of it with an expression for...
View Articlemask follows track point
I am trying to have an elliptical mask path follow a point that was motion tracked. how can i attach the center point of that mask (not the layer) to follow the tracked point? I've tried Nulls but...
View ArticleMath.pow(Math.E, time)
Hi folks! The expression "Math.pow( Math.E, time )" keeps giving me a "divide by zero" error. This seems to be similar to problems others have had, but the other solutions don't quite work in my case,...
View Article