Search found 9 matches
- November 28th, 2005, 11:43 am
- Forum: Expression Discussion
- Topic: newbie: add value to position
- Replies: 3
- Views: 12163
If you are animating the position of your 0-layer, you might be having a problem adding arrays. The problem is that some properties, like position, call for an array of all three axes [x,y,z] rather than for just one axis. So when you add the position of your null to the position of your layer, your...
- October 24th, 2005, 2:35 pm
- Forum: Expressions Library
- Topic: Expression for offset and bounce
- Replies: 2
- Views: 22802
If you need a fast solution, set two keyframes for the spinning motion, and try this expression on the 'shift center to' property of Offset: freq = 10; amplitude = 25; decay = 5.0; t = time - key(numKeys).time; x = scale[0] + amplitude*Math.sin(freq*t*2*Math.PI)/Math.exp(decay*t); if (time < key(num...
- October 24th, 2005, 12:04 pm
- Forum: Expressions Library
- Topic: Expression for offset and bounce
- Replies: 2
- Views: 22802
I would check Dan Ebberts' amazing expression site Motionscript.com. After going through the basics of expressions, check out the section on physical simulations: http://www.motionscript.com/mastering-expressions/simulation-basics-3.html Using sine waves and exponential decay, you should be able to ...
- October 20th, 2005, 11:23 am
- Forum: Expressions Library
- Topic: Imitating a film projector with FPS control
- Replies: 2
- Views: 40175
- October 18th, 2005, 12:59 pm
- Forum: Expression Discussion
- Topic: getting past the 32K AE limit
- Replies: 2
- Views: 11218
Try this expression. Your value should offset itself by the height of your comp, so it should look like a continuous value stream, but within the confines of your comp height. Offset: fps= 24; t=time * fps; move= t * thisComp.height; reset=Math.floor(move/thisComp.height); moveReset=move-reset*thisC...
- October 13th, 2005, 12:58 pm
- Forum: Expression Discussion
- Topic: Merge Rotation and Orientation - A bit Off topic
- Replies: 1
- Views: 9514
The problem is that in 3d, rotation becomes three separate properties that represent the X Y and Z axes, and orientation includes data for all three axes in the one property. So, if you paste a keyframe from rotation Z onto orientation, orientation wants [X,Y,Z] rather than just [Z]. If you have a l...
- September 28th, 2005, 8:14 am
- Forum: Expression Discussion
- Topic: Exponential increase in speed of a layer/camera
- Replies: 2
- Views: 12115
Try putting this on your layers rather than precomposing them: accellMultiplier=5; x=position[0]; y=position[1]; z=position[2]+(time-(Math.exp(time*accellMultiplier))); [x,y,z] This expression causes your layer to move backwards in z space exponentially over time. accellMultiplier lets you affect wh...
- September 28th, 2005, 6:52 am
- Forum: Expression Discussion
- Topic: Camera Expression
- Replies: 1
- Views: 9365
- August 24th, 2005, 4:20 pm
- Forum: Expression Discussion
- Topic: Accessing Colors
- Replies: 1
- Views: 9614
Accessing Colors
Does anyone know of a way of accessing a color value at a specific point on a layer or in the comp window within an expression, like an eyedropper that samples and returns a color every frame?