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

07Chain lightning — hopping from one target point to the next

Sorting targets by proximity and drawing each displaced segment in order with a slightly increasing delay makes the strike look like it hops from one target to the next.

Best forA game UI skill preview, an emphasis effect linking several cards

lineToglobalCompositeOperationrequestAnimationFrame
Chain lightning — hopping from one target point to the next
Open in a new tab

07 Chain lightning — hopping from one target point to the next — Measured area 52.858% · 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