Skip to main content
100%

Fork of Sol LeWitt Reproduction

✓ Published0🌍 Public
PPurshotam Bohra
Last edited Feb 6, 2024
Created on Feb 6, 2024

This example reproduces a Sol LeWitt art piece using raw SVG and JavaScript. It shows a grid of overlapping horizontal and vertical bands, where a circular area in the center is masked to reveal only the vertical lines, while the outer region displays only the horizontal ones. The code builds the SVG via `document.createElementNS`, creates two SVG `<mask>` elements with circle and rect primitives to control visibility, and renders 100 rectangles per axis. No external libraries are used; the rendering entirely relies on native browser SVG APIs.

AI-generated description

A reproduction of a Sol LeWitt art piece.

MIT Licensed

Similar vizzes