GiRiB&W_Ep3-Sol_LeWitt
✓ Published2🌍 Public
This example reproduces a Sol LeWitt-style geometric composition using only D3 selections and SVG masks. It shows a grid of alternating horizontal and vertical black bars, with a circular region in the center where the pattern reverses contrast. The horizontal bars use a mask that reveals them only inside the circle, while the vertical bars use an inverse mask, creating the interplay. The code leverages D3’s `select`, `range`, and `join` to generate the repeating rectangles, and SVG `mask` elements with `circle` shapes to define the visible areas.
AI-generated descriptionA reproduction of a Sol LeWitt art piece.
MIT Licensed