Recreated Sol LeWitt Reproduction in D3
✓ Published1🌍 Public
This example recreates a Sol LeWitt drawing using D3.js, rendering a grid of horizontal and vertical bars that are revealed through circular masks. The composition shows a central circle cut out from both a field of horizontal stripes and a field of vertical stripes, creating an intersecting geometric pattern. The code uses D3 selections (`select`, `range`) to append SVG elements, and applies `mask` attributes with `circle-mask` and `circle-mask-2` to layer the two stripe directions. Rectangles are generated via a join operation, with masks defined by black and white fill rectangles and circles.
AI-generated descriptionA reproduction of a Sol LeWitt art piece.
MIT Licensed