Sol LeWitt-d3-shape
✓ Published0🌍 Public
This example generates an abstract grid of horizontal and vertical stripes that are selectively masked by two inverted symbol shapes, using D3 v6. It renders SVG rectangles across the full viewport, with 100 horizontal bars and 100 vertical bars, each assigned a mask. The `d3.mask` API combines a white or black background rect with a large `d3.symbol` path (symbols[4], a cross) translated to the center. Two masks, one inverted, create a dynamic interplay between the geometric grid and the central symbol.
AI-generated descriptionA demostration for SVG shapes
A bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed