Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

LeWitt Art With Multiple Shapes in function in D3

Public visualization

Viewing a saved revision (read-only)

1463f1b89ec748c3a9c266032d5a2a20

LeWitt Art With Multiple Shapes in function in D3

0 stars1🌍 Public
AAkbarjon
Last edited May 19, 2022
Created on May 19, 2022

This example reproduces a Sol LeWitt–style generative artwork by layering two sets of thin rectangular strips—vertical and horizontal—across the full viewport. Each set is masked using an SVG `<mask>` element, with the masks populated by D3 symbols (from `d3.symbol` and `symbols`) positioned in a row, alternating fill colors to create intersecting geometric patterns. The code uses `select`, `range`, and `join` from D3 v7 to bind data and render both the rectangles and the mask shapes dynamically.

AI-generated description

a reproduction of a sol LeWitt art piece.