Sol LeWitt 2
✓ Published1🌍 Public
This example creates a generative, Sol LeWitt-inspired drawing using SVG masks to combine horizontal and vertical line grids into a circular composition. A large circle is used in two complementary mask definitions, `circleMask` and `circleMask2`, to reveal a set of 100 horizontal strips and a second set of 100 vertical strips. The first mask shows the horizontal lines within the circle while hiding the background, and the second mask does the opposite for the vertical lines, creating a crosshatched effect that only appears in the overlapping circular area. The code builds all SVG elements dynamically using the `createElementNS` API.
AI-generated descriptionMIT Licensed