Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Sol LeWitt Reproduction with D3

Public visualization

Fork of Sol LeWitt Reproduction with D3

0 stars0🌍 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.

Comments

Sign in to join the discussion.

MIT Licensed