Skip to main content
100%

Full Sol LeWitt Reproduction with D3 v2

✓ Published1🌍 Public
JJuan Corrales Correyero
Last edited Sep 12, 2023
Created on Sep 12, 2023

This example reproduces a Sol LeWitt-inspired geometric composition using D3 v7. It displays two overlapping sets of striped rectangles—horizontal and vertical—that intersect through the use of SVG masks. The code uses `d3.select`, `d3.range`, `d3.symbols`, and `d3.symbol` to generate mask shapes, then applies those masks to the rectangles. The masks are created by rendering inverted and non-inverted versions of the symbols, which reveal or hide portions of the grid-like stripes across the full viewport.

AI-generated description

A reproduction of a Sol LeWitt art piece.

MIT Licensed

Similar vizzes