🌍 Public
Viewing a saved revision (read-only)
5d4a121de82b47b8be7225e52d3bd6a9
Fork of Sol LeWitt Reproduction with D3
This example reproduces a Sol LeWitt-inspired geometric composition using D3.js. It displays a grid of horizontal and vertical rectangles that are partially visible through a circular mask, creating an intersecting line pattern. The visualization uses D3’s `select`, `append`, and `join` methods to dynamically generate SVG `rect` elements and mask definitions. The code defines two SVG masks—one circular and one inverted—to selectively reveal the shapes, with the page sized to the full browser window. The rendering is entirely SVG-based, with no external data source.
AI-generated descriptionA reproduction of a Sol LeWitt art piece.