🌍 Public
Viewing a saved revision (read-only)
b3f5f476ef074d8bb1dcb7cf3e212ff0
Vertical Fork of Fork of SVG Fundamentals - Sol LeWitt repro follow-along
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.