Discussion:
Eyelids randomly flutter
(too old to reply)
P***@adobeforums.com
2008-10-29 14:24:30 UTC
Permalink
I have a precomp of a character that is cycling its wings flapping using a pingpong cycle. That precomp is brought into the main timeline but I would like the eyelids to open and close a few times over a 60 second span.

Should I put the eyelids in the precomp or the main timeline and what expression shall I use to turn them on and off?
M***@adobeforums.com
2008-11-07 06:56:07 UTC
Permalink
You could use a clamped/ rounded wiggle... Where you put it, is pretty much your own thing. Still, any character animator will tell you that it's not going to look real, so perhaps it would still be a lot better to add a few manual keyframe cycles. After all, it's just 60 seconds...

Mylenium
P***@adobeforums.com
2008-11-07 16:15:52 UTC
Permalink
Can you explain the 'clamped/rounded wiggle' that sounds interesting.

I ended up using a solution by Dan Eberts

blinkDur = 2; // blink duration (frames)
howOften = 30; // average blink time (frames)

seed = Math.floor(timeToFrames()/blinkDur);
seedRandom(seed,true);
randomVal = random(howOften/blinkDur);
if (randomVal <= 1) 100 else 0

Continue reading on narkive:
Loading...