Skip to main content
100%

Sol Lewitt Reproduction - Ronan

✓ Published0🌍 Public
RRonanFonseca
Last edited Aug 19, 2022
Created on Aug 19, 2022
Forked from SVG Fundamentals

This example reproduces a Sol LeWitt-inspired drawing using raw SVG elements created dynamically with JavaScript. It renders a series of vertical rectangles, each with a fixed width of 10 pixels, spaced 20 pixels apart across the full width and height of the browser window. The code uses `document.createElementNS` to construct SVG `rect` elements and appends them to an SVG container, with the canvas size set to `window.innerWidth` and `window.innerHeight`. No external libraries are used; the work relies solely on the SVG DOM API and a loop that generates the geometric pattern.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

MIT Licensed

Similar vizzes