Skip to main content
100%

Fork of Sol LeWitt Reproduction with D3

✓ Published0🌍 Public
MMatthew Bixby
Last edited Jul 21, 2024
Created on Jul 21, 2024

This example reproduces a Sol LeWitt-inspired geometric composition using D3’s selection and data-join methods. It displays a grid of alternating horizontal and vertical black striped bars filtered through two circular masks, creating a central ring-like pattern on a white background. The visualization renders to SVG, with width and height set to the window dimensions. The code uses `d3.select`, `d3.range`, and the `.join()` pattern to generate the rect elements, while `svg.append("mask")` defines the circular cutouts that shape the final artwork.

AI-generated description

A reproduction of a Sol LeWitt art piece.

MIT Licensed

Similar vizzes