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

05Menger sponge city — the recursion of regular holes

Repeating the divide-and-punch rule inside the distance function grows a hole-punched block city that stays crisp even at low render resolution.

Best forGame background blocks, geometric pattern backdrops

ImageDataputImageDatarequestAnimationFrame
Menger sponge city — the recursion of regular holes
Open in a new tab

05 Menger sponge city — the recursion of regular holes — Measured area 52.859% · moving frames 23/23Original by GODRICH · SCSS and React ship in the zip · 9 Ray Marching Scenes in Canvas (No WebGL)

The post this demo lives in

9 Ray Marching Scenes in Canvas (No WebGL) - preview of all 9 demos9 Ray Marching Scenes in Canvas (No WebGL)Ray marching finds a surface by advancing a ray step by step along a signed distance function, and every scene below run See all demos in this post

If you like this effect - similar demos