multi masks
✓ Published0🌍 Public
This example creates an abstract pattern of 100 horizontal and 100 vertical stripes overlaid on an SVG canvas, with each stripe masked by one of two complementary masks. The masks are defined using D3’s `mask` element, where black and white rectangles and symbol shapes (from `d3.symbol`) determine visibility. The code uses D3 selections and `join` to bind data from `d3.range`, and applies masks via `attr('mask', 'url(#mask-1)')`. The result is a woven, crosshatched visual effect generated entirely in the browser.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed