🌍 Public
Viewing a saved revision (read-only)
28f742e7ed754ce992e506511dfc2c6a
Full Sol LeWitt Reproduction with D3
This example reproduces a Sol LeWitt art piece using D3.js. It shows a grid of horizontal and vertical lines rendered as SVG rectangles, with the pattern dynamically clipped by two circular masks to create a complex, layered composition. The code uses D3’s `select`, `range`, `symbols`, and `symbol` APIs to generate the shapes and paths. SVG masks are defined and applied to the line groups, with one mask inverted to produce the final visual effect. The rendering adapts to the browser window’s dimensions.
AI-generated descriptionA reproduction of a Sol LeWitt art piece.