N***@adobeforums.com
2006-09-08 17:28:29 UTC
I earlier need help with random blinking using wiggle. Now I need uniform blinks.
I'm trying to make a layer blink at regular intervals. I've been using:
blinkSpeed =2;
lowOpacity =0;
highOpacity = 100;
opNormal = (Math.cos(blinkSpeed * time * Math.PI *2)+1)/2;
linear(opNormal,0,1,lowOpacity,highOpacity);
BUT... this expression goes through the middle values 1-99% so low blinkSpeed values fade on and off. Is there a way to have it blink regularly at 0 and 100% opacity (or between two values x & y), but nothing inbetween?
I'm trying to make a layer blink at regular intervals. I've been using:
blinkSpeed =2;
lowOpacity =0;
highOpacity = 100;
opNormal = (Math.cos(blinkSpeed * time * Math.PI *2)+1)/2;
linear(opNormal,0,1,lowOpacity,highOpacity);
BUT... this expression goes through the middle values 1-99% so low blinkSpeed values fade on and off. Is there a way to have it blink regularly at 0 and 100% opacity (or between two values x & y), but nothing inbetween?