Skip to content
TheChatArchiveThe Chat Archive
gpt-4.1-mini-2025-04-14· OpenAIAi2 WildChat-4.8M (AI2)

random flicker opacity after effects expression

  1. User

    random flicker opacity after effects expression

  2. 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:

    1. Select your layer.
    2. Alt-click (Option-click on Mac) the stopwatch next to Opacity.
    3. Paste the above expression into the expression editor.
    4. Adjust freq, minOpacity, and maxOpacity as needed.

    Explanation:

    • freq controls how often the flicker occurs per second.
    • seedRandom ensures randomness but still changes over time.
    • random(min, max) generates the opacity value at every frame between minOpacity and maxOpacity.

    If you want the flicker to be more jittery or smoother, you can tweak freq or use some easing functions. Let me know if you want a more advanced or smoother flicker!