Skip to main content
100%

Sol Lewitt Reproduction with D3

✓ Published0🌍 Public
Ssirenajbpearl@gmail.com
Last edited Aug 2, 2024
Created on Aug 2, 2024

This example reproduces a Sol LeWitt-style drawing using D3.js to generate SVG shapes. It displays a grid of horizontal and vertical rectangles that are partially masked by overlapping circular regions, creating geometric intersections. The code constructs an SVG canvas sized to the browser window, then uses D3’s `select`, `append`, and `attr` methods to add and position the rectangles. Although the data array is currently empty, the logic prepares to map a sequence of marks with varying y-offsets and mask references, demonstrating how D3 can drive generative art through declarative joins and SVG masks.

AI-generated description

A demonstration of SVG shapes.

MIT Licensed

Similar vizzes