🌍 Public
Viewing a saved revision (read-only)
89b30f9b1a6549928751955cfd94e664
Sol LeWitt Reproduction D3
This example reproduces a Sol LeWitt geometric art piece using only SVG and DOM manipulation, without any external libraries. It displays a grid of 100 horizontal and 100 vertical black rectangles on a full-screen canvas. Two circular masks—one with a black background and white circle, the other inverted—are applied to the horizontal and vertical strips respectively, creating an intersecting circular void in the center. The code uses `createElementNS` to construct SVG elements and `setAttribute` with `mask` URLs to achieve the layered effect.
AI-generated descriptionA reproduction of a Sol LeWitt art piece.