-
moving wings through entire range of motion, but at random intervals.
hey guys,
trying to create a more realistic butterfly.
say i have a retarded insect that can’t fly properly. when it flaps, its wings move through the full range of motion each time. BUT i want the flaps to occur spasmodically…
if i use
t=Math.sin(time*thisComp.layer(“Null 1”).effect(“Slider Control”)(“Slider”));
ease(t, -1, 1, 17, 149)using the slider control with a wiggle on it as a multiplier for the value being passed to the sine function (to control the speed of the “wave motion”), i get something close to what i’m after, but not quite. the sine/cos functions are too hard for me to control in this scenario… even when using small wiggles the rate of flapping changes from very slow to extremely fast.
when you watch a butterfly, each flap of the wing takes a certain amount of time… but these flaps don’t occur with any rhythm. this is the kind of effect i’m trying to achieve. i could keyframe it, but a minute’s worth is going to get tedious.
any suggestions from scripting gurus out there? i’m not so sure the interpolation method is the way to go…
thanks,
scott.