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

02Marching squares — the 16-case table that links the boundary into an outline

Encode the four corner crossings of each cell as a 4-bit case, interpolate the edge points linearly and join them with curves — the stair-stepped pixel edge becomes a smooth closed outline.

Best forA liquid silhouette for logos and mascots

Path2DquadraticCurveTo
Marching squares — the 16-case table that links the boundary into an outline
Open in a new tab

02 Marching squares — the 16-case table that links the boundary into an outline — Measured area 34.129% · moving frames 23/23Original by GODRICH · SCSS and React ship in the zip · 9 Metaball Effect Scenes, Marching Squares Canvas

The post this demo lives in

9 Metaball Effect Scenes, Marching Squares Canvas - preview of all 9 demos9 Metaball Effect Scenes, Marching Squares CanvasNo library, no WebGL — marching squares links grid cells whose field crosses one threshold, and blobs merge and split li See all demos in this post

If you like this effect - similar demos