choose the start point
Posted: February 25th, 2008, 9:33 am
hi,
i'm a new user.
i'm graphic designer but not programmer.
i try to to animation with expression.
but i wouldn't start at 0,00 but at 3sec.
how can i do that with this parameters ?
tks
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