Skip to main content
100%

Fork of Sol LeWitt Reproduction

✓ Published0🌍 Public
IIsabella Reyna
Last edited Aug 30, 2025
Created on Aug 30, 2025

This example reproduces a Sol LeWitt wall drawing using dynamically generated SVG elements. It displays a grid of horizontal and vertical lines whose visibility is constrained by two circular masks: one reveals the horizontal lines inside a circle, while the other reveals vertical lines outside the same circle. The code uses the SVG `mask` and `mask` attribute to layer the intersecting line patterns. All elements are created programmatically with `document.createElementNS`, and the layout responds to the window’s dimensions. The artwork relies entirely on SVG primitives, without external libraries.

AI-generated description
MIT Licensed

Similar vizzes