🌍 Public
Viewing a saved revision (read-only)
6be6760b7b364d64b5cd5b29f1a55c80
Sol LeWitt Reproduction
This example reproduces a Sol LeWitt-style geometric composition using a grid of vertical SVG rectangles. The code generates 100 thin, evenly spaced bars that span the full height of the browser window, creating a rhythmic, minimal pattern. It builds the SVG dynamically with the Document Object Model (DOM) API, using methods like `createElementNS` and `setAttribute` to construct and style each rectangle. The visualization responds to the current viewport dimensions, filling the entire screen with its structured, monochrome array.
AI-generated descriptionJavaScript Basics