Skip to main content
100%

sol l. reprod.

✓ Published1🌍 Public
Kkhaledakanan@gmail.com
Last edited Jun 1, 2024
Created on Jun 1, 2024
Forked from SVG Fundamentals

This example recreates Sol LeWitt’s geometric art by generating a grid of vertical rectangles across the full browser window. Each rectangle is positioned horizontally at regular intervals, with a quarter-width offset, while its height remains fixed at 500 pixels. The rendering uses raw SVG APIs, including `document.createElementNS` and `setAttribute`, to create and style the shapes dynamically. The code calculates spacing based on the viewport’s width and height, adapting the pattern to the display size.

AI-generated description

A recreation of Sol LeWitt's Art

MIT Licensed

Similar vizzes