Sol Lewitt Reproduction - Ronan
✓ Published0🌍 Public
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 descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed