Fork of SVG Fundamental
This example demonstrates how SVG masks can selectively reveal or hide parts of overlapping shapes. It creates two circular masks—one filled red for horizontal stripes and another inverted with a white background and black circle for vertical stripes. Using the D3.js `selection` module for logging, the code builds 40 horizontal and vertical rectangles via the DOM API, applying each mask URL to alternate stripe orientations. The result is a crosshatch pattern formed by masked rectangles over a full-screen SVG, showcasing mask composition and reuse.