Sol LeWitt in JS
✓ Published0🌍 Public
This example renders a full-screen SVG of 100 vertical rectangles, spaced incrementally across the width, to approximate a minimalist scatterplot or grid composition reminiscent of Sol LeWitt’s geometric art. The page sets up an SVG namespace using `document.createElementNS` and dynamically appends each `rect` element with fixed width and height equal to the viewport. The code directly uses the `window.innerWidth` and `window.innerHeight` properties to size the canvas, with no external libraries. The result is a clean, repeating pattern that emphasizes structure and rhythm over data variation.
AI-generated descriptionApproximation of a scatterplot
MIT Licensed