Skip to main content
100%

Full and Final Sol LeWitt Reproduction with D3

✓ Published0🌍 Public
Rraturi22@gmail.com
Last edited Aug 7, 2025
Created on Aug 7, 2025

This example uses D3.js to recreate a Sol LeWitt-style wall drawing as a generative SVG composition. It displays a grid of alternating horizontal and vertical stripes overlaid with two large geometric symbols—a circular arc and a polygon—that act as masks, cutting their shapes out of the stripe pattern. The implementation leverages D3’s `select`, `range`, `symbol`, and `symbols` APIs to construct the masks and position them along a horizontal line, with the mask fill toggled to create positive and negative space. The entire graphic is built dynamically, sized to the full browser window, and rendered as an SVG document.

AI-generated description
MIT Licensed

Similar vizzes