🌍 Public
Viewing a saved revision (read-only)
fa0d65e7143e4bfe8911ce533d6a322d
Fork of Sol LeWitt practice
This example uses JavaScript and the SVG API to create a full-window, grid-like pattern of vertical bars. It calculates the number of bars needed based on the window’s width and a fixed bar length with padding, then dynamically generates and positions each SVG rectangle. The code uses `document.createElementNS` and `setAttribute` to construct the vector graphics, and `console.log` examples in the README illustrate basic variable reassignment with `let` and `var`. The result is a minimalist, striped composition that directly references Sol LeWitt’s geometric wall drawings.
AI-generated descriptionExample of a picture create for le author Sol LeWitt