mandag den 10. september 2012

Jumpy Hold WIGGLE

//AEENHANCERS.COM
//Lloyd Alvarez

works on one value parameters (fx.Opacity) :

v=wiggle(.2,50);
if(v < 50)v=20;
if(v > 50)v=100;
v

works on two and more value parameters (fx.position) :

fps=.9; //frequency
amount=350;  //amplitude

wiggle(fps,amount,octaves = 1, amp_mult = 0.5,(Math.round(time*fps))/fps);

tirsdag den 8. maj 2012

position XYZ - Value - move only one axe

So i finally figured this one out on my own :-)
it is simple i know, but it is latin for me, and i don't know latin.
it is a tweak from "wiggle in 3d" and pretty simple, and i knew the "value" expresion, but i did'n know the linguistic in how to put it in context. so i think it can be tweaked it to a lot of places, where you want Expresions and "value" inputs at the same time. 

 example (3 axes) - Steady speed Z axe: 

a=value;
b=value;
c=value;
[a[0],b[1],c[2]+(time*160)]
 
 example (2 axes) - Steady speed y axe: 

a=value;
b=value;

[a[0],b[1]+(time*160)] 

fredag den 16. marts 2012

AE - Math - Ramdom number

//http://maltaannon.com/articles/after-effects/the-matrix-raining-code/
(Maltaannon matrix tururial)

In Position (partucular XY position)

Random between 0-49

CODE:

[math.round(random(0,49))*10,0)

Or

[math.floor(random(0,49))*10,0)

mandag den 17. oktober 2011

C4D - Material Selection

On fx. Extruded NURBS, you can apply materials to different parts of the objekt, with out make custom selections. In the selection of the material just apply this names.

C1/C2 = Front Caps - Back Caps
R1/R2 = Front fillet - Back Fillet (the Bevel)

Remember : One material to each selection :-)

onsdag den 1. juni 2011

AE - making 3d In after Effects

When you making 3d in after effects,and making boxes/curvs exc.
somtimes the shapes that are meeting up, dosent look solid when they are animated.

to avoid this, go to the "blend mode" tab, and set it to Alpha Add,
and now you should be fine.

thanks M. kühl !! :-P

tirsdag den 31. maj 2011

AE - Inverting Values

//VideoCoPilot

...just multiply it by -1

Example:
thisComp.layer("target Layer").transform.position*(-1)

fredag den 27. maj 2011

AE - CoverFlow

//ngambles- on VideoCoPilot

Create a new null object
Call it "Controls"
Make it a 3D layer
Create a new camera
Parent the camera to the "Controls" null object
Add all your CD Covers to the Scene as 3D layers
Position the CD Covers along the x axis as needed
Add two slider expression controls to the "Controls" null object

named one Transition Distance
named the other Rotation Space

Applie the expressions below to the position and Y rotation of the CD Cover layers
Now move the null object along the x axis and the CD Covers will rotate like you see in Cover Flow.
Done !


--The Expressions are here:
--in the Y Rotation of each CD Cover:

dist = thisComp.layer("Controls").effect("Transition Distance")("Slider");
cPos = thisComp.layer("Controls").position;
delta = cPos[0] - position[0];

ease(delta, -1 * dist , dist, 90, -90)



--In the Position of each CD Cover:

move = thisComp.layer("Controls").effect("Rotation Space")("Slider");
dist = thisComp.layer("Controls").effect("Transition Distance")("Slider");
cPos = thisComp.layer("Controls").position;
delta = cPos[0] - position[0];

p1 = value + [move , 0,0];
p2 = value + [-1* move, 0,0];

ease(delta, -1 * dist , dist, p1, p2)


--In the opacity of each CD Cover:

dist = thisComp.layer("Controls").effect("Transition Distance")("Slider");
cPos = thisComp.layer("Controls").position;
delta = cPos[0] - position[0];
delta = Math.abs(delta);
dist = dist * 3;

ease(delta,0 ,dist, 100, 0)
AE POSTWORK blog is virtually just a notepad, where I put all the AE expressions up I finde and use, its so I can easily get to them wherever I am and no matter what computer I sit at. I do not write my own expressions, so all expressions on the page is downloaded from the web,or modify versions i found. and tutorials etc.. I will try to credit those who have made expressions if I can.

Now, with tips and tricks for AE & C4D.
No more forgetting the little tricks and tips I found on my road with After Effects, etc.

Sebabba