gpt-4.1-mini-2025-04-14· OpenAI
WildChat-4.8M (AI2)
random flicker opacity after effects expression
- User
random flicker opacity after effects expression
- Assistant
Certainly! If you want to create a random flicker effect on the opacity property in Adobe After Effects using an expression, here’s a simple and commonly used example:
freq = 10; // flicker frequency, times per second minOpacity = 20; // minimum opacity value maxOpacity = 100; // maximum opacity value // Generate a random flicker between minOpacity and maxOpacity seedRandom(index + time * freq, true); random(minOpacity, maxOpacity);How to use:
- Select your layer.
- Alt-click (Option-click on Mac) the stopwatch next to Opacity.
- Paste the above expression into the expression editor.
- Adjust
freq,minOpacity, andmaxOpacityas needed.
Explanation:
freqcontrols how often the flicker occurs per second.seedRandomensures randomness but still changes over time.random(min, max)generates the opacity value at every frame betweenminOpacityandmaxOpacity.
If you want the flicker to be more jittery or smoother, you can tweak
freqor use some easing functions. Let me know if you want a more advanced or smoother flicker!