Vertical Fork of Fork of SVG Fundamentals - Sol LeWitt repro follow-along
✓ Published0🌍 Public
MMichael Gomersall
Last edited Jun 9, 2023
Created on Jun 9, 2023
This example reproduces a Sol LeWitt art piece using dynamically generated SVG. The visualization displays a grid of horizontal and vertical lines, with a central circular region where the lines are masked and inverted. The code creates an SVG canvas and uses two masks—a circle mask and an inverse mask—to selectively reveal the line patterns. Horizontal rectangles are drawn with a circle mask applied, while vertical rectangles use the inverse mask, creating an alternating visual effect. The rendering is purely code-driven, with no external data source, and relies on the Document Object Model (DOM) API for SVG element creation.
AI-generated descriptionA reproduction of a Sol LeWitt art piece.
MIT Licensed