🌍 Public
Viewing a saved revision (read-only)
36e47566de9c458db345702de143f987
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.