Sol Lewwit D3 symbol
✓ Published0🌍 Public
This example generates a full-screen SVG pattern inspired by Sol LeWitt, using two sets of parallel stripes—horizontal and vertical—that intersect to create a grid. A mask with a circular symbol cuts a ring shape through the pattern, while a second, inverted mask reveals a contrasting ring effect. Built with React and D3.js, the code uses `d3.select`, `d3.range`, and `d3.symbol` to construct the marks and masks, with dimensions tied to `window.innerWidth` and `window.innerHeight`. The rendering relies entirely on SVG elements and attributes.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed