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

04A One-Line Path That Untangles by Flipping Crossed Segments

The line first joins each dot to its nearest unvisited neighbor, then keeps finding two segments that cross and reversing the order between them, so the tangle loosens while a total length readout keeps dropping.

Best forSection explaining delivery routes on a logistics site

STOP_COUNTTRIES_PER_FRAMEGREEDY_TIME
A One-Line Path That Untangles by Flipping Crossed Segments
Open in a new tab

04 A One-Line Path That Untangles by Flipping Crossed Segments — Measured area 18.442% · moving frames 20/23Original by GODRICH · SCSS and React ship in the zip · One Line Drawing Generator: 9 Canvas Scenes

The post this demo lives in

One Line Drawing Generator: 9 Canvas Scenes - preview of all 9 demosOne Line Drawing Generator: 9 Canvas ScenesIn a one line drawing generator, join each dot to its nearest neighbor and the line keeps crossing itself, so 04 flips c See all demos in this post

If you like this effect - similar demos