Refactored Rendering Masks - D3 Version Sol LeWitt Reproduction
✓ Published1🌍 Public
EEdgar Cortez
Last edited Feb 9, 2023
Created on Feb 9, 2023
This visualization reproduces a Sol LeWitt art piece by layering two sets of SVG rectangles—horizontal and vertical stripes—each restricted by a distinct mask. The masks use D3 symbols (from the `symbols` and `symbol` APIs) to carve geometric shapes into the stripes, creating intersecting patterns. The code generates 100 stripes in each direction, with the masks defined via `svg.append('mask')` and applied using the `mask` attribute. Rendering is done entirely through D3 v6 selections and joins, with the canvas size set to the full window dimensions.
AI-generated descriptionA reproduction of a Sol LeWitt art piece.
MIT Licensed