Skip to main content
100%

Sol LeWitt Reproduction

✓ Published1🌍 Public
PPrince Kumar
Last edited Mar 17, 2024
Created on Mar 17, 2024
Forked from Js Basics

This example reproduces a minimalist Sol LeWitt-style drawing using only vertical bars. It shows a grid of thin, evenly spaced rectangles that fill the entire viewport, creating a rhythmic, pattern-based composition. The visualization is generated entirely with the browser’s native SVG interface, using `document.createElementNS` to construct each rectangle element. The script sets the total number of bars to 100, positioning them at fixed intervals of 20 pixels along the x-axis while each bar spans the full height of the window. No external libraries are used, relying solely on standard JavaScript and the SVG namespace.

AI-generated description

A demonstration of SVG shapes.

MIT Licensed

Similar vizzes