Irregular light ease
Irregular light is an irregular, jittery curve made of random linear segments, for glitch and flicker effects. It has 10 segments at intensity 0.5. GSAP has no built-in ease with this exact shape, so the code uses CustomEase.
Measings shows it on real UI animations and lets you fine-tune the curve before you copy the code.
Code
GSAP CustomEase
gsap.registerPlugin(CustomEase);
CustomEase.create("irregularLight", "M0,0 L0.1111,0.1459 L0.2222,0.2224 L0.3333,0.3626 L0.4444,0.4989 L0.5556,0.6094 L0.6667,0.6823 L0.7778,0.8118 L0.8889,0.9289 L1,1");
gsap.to(".box", { x: 200, duration: 0.6, ease: "irregularLight" });
CSS linear()
transition-timing-function: linear(0, 0.1459 11.11%, 0.2224 22.22%, 0.3626 33.33%, 0.4989 44.44%, 0.6094 55.56%, 0.6823 66.67%, 0.8118 77.78%, 0.9289 88.89%, 1);CSS has no built-in curve of this shape, so it is sampled into linear(), which works in all current browsers.
Tailwind
ease-[linear(0,0.1459_11.11%,0.2224_22.22%,0.3626_33.33%,0.4989_44.44%,0.6094_55.56%,0.6823_66.67%,0.8118_77.78%,0.9289_88.89%,1)]
Webflow
In Interactions, choose a custom ease and paste this path:
M0,0 L0.1111,0.1459 L0.2222,0.2224 L0.3333,0.3626 L0.4444,0.4989 L0.5556,0.6094 L0.6667,0.6823 L0.7778,0.8118 L0.8889,0.9289 L1,1
Related easings
See how Irregular light measures up against all 91 easings in the easing comparison: progress over time, overshoot and peak speed.
