🌍 Public
Viewing a saved revision (read-only)
a27e759de1a74424898aa877ea1e3a3e
Fork of Fork of TD_Sol_Lewitt_animated
This example recreates Sol LeWitt’s geometric wall drawings using SVG and the Document Object Model (DOM) API. It displays a grid of horizontal and vertical stripes, masked by two overlapping circular regions that produce an inverted, framed effect. Two SVG `mask` elements, one with a black rectangle and white circle, the other with a white rectangle and black circle, alternately reveal the stripes within and outside the circle. The code generates 100 rectangles in each direction, setting their size and position programmatically.
AI-generated descriptionReproduce Sol Lewitt art TD_Sol_Lewitt