Sol LeWitt Reproduction with JS
✓ Published1🌍 Public
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.
MIT Licensed