Random Flicker
Random on/off flicker for neon signs, glitch effects, or blinking elements.
Expression Code
// Random Flicker
// Apply to Opacity
onValue = 100; // Opacity when "on"
offValue = 0; // Opacity when "off"
flickerSpeed = 8; // Changes per second
onBias = 0.7; // Chance of being "on" (0ā1)
posterizeTime(flickerSpeed);
random(1) < onBias ? onValue : offValue;Apply to Opacity. onBias controls how often the element is visible ā 0.7 means on 70% of the time. flickerSpeed sets how rapidly it changes state.