Skip to main content
100%

Sol LeWitt in JS

✓ Published0🌍 Public
Jjeremyyq@gmail.com
Last edited Jun 30, 2024
Created on Jun 30, 2024
Forked from Pseudo Scatterplot

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 description

Approximation of a scatterplot

MIT Licensed

Similar vizzes