Skip to main content
100%

Sol LeWitt

✓ Published2🌍 Public
Jjisu9393@naver.com
Last edited Dec 18, 2024
Created on Dec 17, 2024

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 description

A reproduction of a Sol LeWitt art piece.

MIT Licensed

Similar vizzes