🌍 Public
Viewing a saved revision (read-only)
7711423ba9cd4983832e1e9cad33fc60
sol_lewit_repro
This example recreates a Sol LeWitt-inspired drawing using JavaScript and the SVG API, dynamically creating a full-screen grid of 100 horizontal and 100 vertical stripes. The code uses `document.createElementNS` to build SVG elements and applies circular masks (`circle-mask` and `circle-mask-2`) to reveal the horizontal lines in the center while showing the vertical lines outside that radius. The horizontal stripes are black, while the vertical stripes are magenta, creating a geometric contrast. The composition is generated entirely through loops with `setAttribute`, with the SVG canvas sized to the browser window.
AI-generated description