Skip to main content
100%

Full Sol LeWitt Reproduction with D3

✓ Published2🌍 Public
Lliu yang
Last edited Nov 11, 2023
Created on Nov 10, 2023

This example reproduces a Sol LeWitt-style drawing using overlapping horizontal and vertical striped rectangles, masked to reveal a white diamond shape at the center and a black circle behind it. The visualization is rendered as an SVG using D3 v7, leveraging `select`, `range`, `join`, and `symbol` APIs to generate the grid of lines. Two masks (`circle-mask` and `circle-mask2`) combine the shapes, with the horizontal bars visible through the diamond and vertical bars elsewhere. The code imports from `d3` and appends elements to the body, adapting to the full window size.

AI-generated description

Sol LeWitt Reproduction

MIT Licensed

Similar vizzes