🌍 Public
Viewing a saved revision (read-only)
77127e148c86444d922c1811380e96c5
Fork of solwith d3 complete
This example reproduces a Sol LeWitt–style drawing with D3.js, showing a circular mask overlaid on two sets of alternating horizontal and vertical black-and-white stripes. The SVG output is generated entirely through D3’s `select`, `range`, and `.join()` API to create 100 rectangles along each axis, with two masks (`circle-mask` and `circle-mask-2`) defining the contrast and inversion between the stripe groups. The code uses `window.innerWidth` and `window.innerHeight` to size the canvas dynamically.
AI-generated descriptionA bare minimum HTML page.