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

06Greedy wrapping — the optimization that picks the next thread

Draw every candidate chord, keep only the one that brings the weave closest to the photo, repeat four thousand times — the algorithm reproducing how real kits order their wraps.

Best forPattern generators, craft tools

getImageDataImageDatalineTorequestAnimationFrame
Greedy wrapping — the optimization that picks the next thread
Open in a new tab

06 Greedy wrapping — the optimization that picks the next thread — Measured area 33.037% · moving frames 23/23Original by GODRICH · SCSS and React ship in the zip · String Art: 9 Thread-Geometry Demos

The post this demo lives in

String Art: 9 Thread-Geometry Demos - preview of all 9 demosString Art: 9 Thread-Geometry DemosLet thread hop between pins by a rule and curves appear on their own. A canvas engine that computes every wrap — copy-pa See all demos in this post

If you like this effect - similar demos