🌍 Public
Viewing a saved revision (read-only)
2a7daab88d2645a0b6397a30c4d81c25
Sol LeWitt reproduction
This example reproduces a Sol LeWitt wall drawing using SVG masks to create a circular window into intersecting grids of vertical and horizontal bars. The code builds two complementary masks—one with a white background and black circle, the other inverted—so that vertical lines appear outside the circle while horizontal lines appear inside it. It uses raw DOM manipulation with `document.createElementNS` and D3’s `selection` import, and sizes the artwork responsively to the viewport dimensions.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.