Skip to main content
100%

Fork of Sol Lewitt Reproduction mask

✓ Published1🌍 Public
Kkwambokar
Last edited Aug 8, 2022
Created on Aug 8, 2022

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 description

A reproduction of a [Sol Lewitt art piece] (https://www.edfu2.com/sol-lewitt-a-life-of-ideas-book-review-2/).

MIT Licensed

Similar vizzes