Fork of Sol Lewitt Reproduction mask
✓ Published1🌍 Public
This example reproduces a Sol LeWitt-inspired geometric composition by drawing 100 horizontal stripes across the full browser window. A circular SVG mask, defined with a black circle over a white rectangle, reveals only the central region of the stripes, creating a circular vignette effect. The code constructs all elements dynamically using the raw Document Object Model (DOM) API, including `document.createElementNS` and `setAttribute`, without relying on external libraries. The mask and rectangles are appended directly to an SVG element sized to match the viewport dimensions.
AI-generated descriptionA reproduction of a [Sol Lewitt art piece] (https://www.edfu2.com/sol-lewitt-a-life-of-ideas-book-review-2/).
MIT Licensed