Skip to main content
100%

Sol LeWitt Reproduction

✓ Published2🌍 Public
Mmegan-grannan
Last edited Aug 9, 2023
Created on Aug 9, 2023
Forked from JS Basics

This example reproduces a Sol LeWitt drawing using purely procedural SVG generation. It displays a full-screen field of evenly spaced horizontal bars, with a circular area in the center where the bars are masked out to reveal the background. The code creates the SVG dynamically via the DOM API, using `document.createElementNS` to construct each rectangle and a circular SVG `<mask>` to define the central void. No external libraries are used, and the rendering is entirely based on the browser's viewport dimensions.

AI-generated description

Reproduction of Sol LeWitt art piece.

MIT Licensed

Similar vizzes