i'm a new user.
i'm graphic designer but not programmer.
i try to to animation with expression.
Code: Select all
variable=effect("Paramètre glissière")("Curseur")
wiggle(2,variable);
ampl = 220 ; // amplitude en pixel
freq = 1.1 ; // oscillations par seconde
decroi = 0.5 ; // facteur décroissance
u = ampl * Math.abs( Math.cos( freq * time * 2 * Math.PI ) ) * Math.exp( - decroi * time ) ;
position - [ 0 , u ] ;
how can i do that with this parameters ?
tks