Sol LeWitt
✓ Published2🌍 Public
This example reproduces a Sol LeWitt-style wall drawing using a grid of thin vertical bars. It displays a full-screen SVG composed of 100 equally spaced rectangles, creating a minimalist pattern of lines across the viewport. The code generates each rectangle using the Document Object Model’s `createElementNS` method and sets its position and size with `setAttribute`. The bars are spaced 20 pixels apart, with a width of 10 pixels and a height matching the window, resulting in a clean, repetitive visual composition.
AI-generated descriptionA reproduction of a Sol LeWitt art piece.
MIT Licensed