Expression for sine wave modulation of filter intensity
Can someone suggest an expression method for varying the intensity of an AE filter in a sine wave fashion? The specific application(s) in mind are either a slowly pulsating intensity of gaussian blur, from low to high, and/or pulsating change in opacity. In the case of Gaussian blur, the current max value is around 28-30 and the range desired would be something single-digits up to that value.
-
- Posts: 320
- Joined: June 26th, 2004, 10:01 am
- Location: Folsom, CA
- Contact:
Play with this:
freq = 1;
midVal = 20;
range = 10;
midVal + range*Math.sin(time*freq*Math.PI*2)
Dan
freq = 1;
midVal = 20;
range = 10;
midVal + range*Math.sin(time*freq*Math.PI*2)
Dan