🌍 Public
Viewing a saved revision (read-only)
c8a30e6506a24f04809f133138cfb939
Sol LeWitt Reproduction with JS
This example reproduces a Sol LeWitt geometric art piece using only native browser APIs. It displays a grid of horizontal and vertical rectangles intersecting around a central circular void, created with SVG masks. The code uses `document.createElementNS` to build SVG elements and applies two masks: a white circle on black for the horizontal bars and an inverted circle for the vertical bars. The 60 rectangles in each direction are generated programmatically with fixed 20-pixel spacing.
AI-generated descriptionA reproduction of a Sol LeWitt art piece.