Skip to main content
100%

Fork of Sol LeWitt Reproduction with D3

✓ Published0🌍 Public
Nnim@brejnholt.dk
Last edited Jan 21, 2024
Created on Jan 21, 2024

This example reproduces a Sol LeWitt-style drawing using SVG rect elements generated with d3.selectAll, d3.range, and .join. Horizontal and vertical rectangles are rendered across the full viewport, with two overlapping SVG masks—one showing a white circle on black and the other inverted—creating a circular focal pattern. The code uses D3 v7 selection and data-binding APIs to create 100 rects in each orientation, with the masks revealing and hiding portions of the grid to mimic the geometric interplay of LeWitt’s wall drawings.

AI-generated description

A reproduction of a Sol LeWitt art piece.

MIT Licensed

Similar vizzes