🌍 Public
Viewing a saved revision (read-only)
f3c812ca699d4aee96b52998b7b311e1
Sol LeWitt Reproduction Final
This example reproduces a Sol LeWitt wall drawing using pure JavaScript and SVG APIs. It shows a grid of horizontal and vertical striped rectangles overlaid with two circular masks, creating a composition of intersecting lines that fade into a central circle. The code builds SVG elements dynamically via `document.createElementNS`, applying a black-to-white mask and an inverted white-to-black mask to reveal alternating line directions. One hundred horizontal strips and one hundred vertical strips are generated in loops, with the masks controlling visibility to form the final geometric pattern.
AI-generated descriptionA reproduction of a Sol LeWitt art piece.