Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Sol LeWitt Reproduction with D3

Public visualization

Viewing a saved revision (read-only)

0fc7127517d145429c3789082ae12b30

Fork of Sol LeWitt Reproduction with D3

0 stars1🌍 Public
Aajoua
Last edited Jan 25, 2023
Created on Jan 25, 2023

This example reproduces a Sol LeWitt-inspired geometric composition using D3 v7. It displays a grid of overlaid horizontal and vertical rectilinear lines, with a circular region in the center where the horizontal lines are visible and the vertical lines are masked out. The visualization uses two SVG `<mask>` elements, `circle-mask` and `circle-mask-2`, to selectively hide or reveal line groups, creating an inverted circular contrast. All shapes are rendered as SVG rectangles, sized to the full window, with 100 lines spaced evenly in each direction. The code relies on `d3.select`, `d3.range`, and SVG attribute manipulation.

AI-generated description

A reproduction of a Sol LeWitt art piece.