GODRICH
#css-animation#button#loader#transition#scroll#dashboard#ui#design-trends

02Recursive branching — side forks thinning and dimming with depth

At each segment split by displacement, a low-probability new branch is drawn with its own displacement, its thickness and brightness scaled down by recursion depth so it never reads as the main stem.

Best forA game skill effect, an ornate strike decoration on a banner

lineToglobalCompositeOperationrequestAnimationFrame
Recursive branching — side forks thinning and dimming with depth
Open in a new tab

02 Recursive branching — side forks thinning and dimming with depth — Measured area 31.275% · moving frames 23/23Original by GODRICH · SCSS and React ship in the zip · 9 Lightning Effect Background Scenes, No WebGL

The post this demo lives in

9 Lightning Effect Background Scenes, No WebGL - preview of all 9 demos9 Lightning Effect Background Scenes, No WebGLNo library, no WebGL — a single recursive midpoint-displacement split makes lightning branches fork on their own, and th See all demos in this post

If you like this effect - similar demos