Skip to main content
100%

Sol LeWitt Reproduction (D3 groups)

✓ Published0🌍 Public
LLohitB
Last edited Jan 18, 2023
Created on Jan 18, 2023

This example reproduces a Sol LeWitt art piece using D3 groups to draw two sets of overlapping stripes. One group renders 100 horizontal rectangles, and another draws 100 vertical rectangles, each set filtered through a circular mask. The code uses `select`, `append`, and `join` from D3's API, with the masks defined via `svg.append('mask')` and styled using `rect` and `circle` elements. The artwork dynamically fills the browser window, showcasing a grid-and-circle motif.

AI-generated description

A reproduction of a Sol LeWitt art piece.

MIT Licensed

Similar vizzes