🌍 Public
Viewing a saved revision (read-only)
77a96381f07a41b4b18817862b3996a5
Sol LeWitt Vanilla JavaScript
This example reproduces a Sol LeWitt wall drawing using only Vanilla JavaScript and the SVG API. It constructs an SVG scene with a white rectangle and a black circle defined as a mask, then renders 100 horizontal stripes as individual SVG `<rect>` elements. Each rectangle’s visibility is filtered through the circular mask, creating the artwork’s characteristic banded composition within a circular boundary. The code dynamically sets the canvas to the browser’s full window dimensions and uses no external libraries or data sources.
AI-generated descriptionA reproduction of a Sol LeWitt art piece.