Skip to main content
100%

Sol LeWitt Reproduction with D3

✓ Published0🌍 Public
Mma-jacobs
Last edited Mar 30, 2023
Created on Mar 30, 2023

This visualization reproduces a Sol LeWitt wall drawing using D3 to generate a grid of alternating horizontal and vertical bands across the full viewport. Two masks reveal circular cutouts: the first exposes a black circle on a transparent background, while the second creates an inverse pattern. The code uses D3's `select`, `append`, and `join` APIs to efficiently construct SVG rectangles from `range(n)` data, with masks defined via SVG `mask` elements containing `rect` and `circle` shapes, rendering entirely as vector graphics.

AI-generated description

A reproduction of a Sol LeWitt art piece.

MIT Licensed

Similar vizzes