Skip to main content
100%

SOL Lewitt Reproduction with D3

✓ Published1🌍 Public
DDonald Bagwell
Last edited Dec 10, 2023
Created on Dec 10, 2023

This example reproduces a Sol LeWitt wall drawing using D3.js version 7.8.5, generating horizontal and vertical striped rectangles that form a grid pattern. A circular mask, created with SVG `mask` elements and inverted using a second mask, crops the intersecting lines to create a distinctive circular window in the center of the canvas. The code constructs the SVG and masks programmatically via the DOM API, appending 100 alternating horizontal and vertical rects. The visualization fills the entire browser viewport, using `window.innerWidth` and `window.innerHeight` to set the canvas dimensions.

AI-generated description

A bare minimum HTML page this is the beginning of the SOL Lewitt variable and drawings. Reproduction of the Sol Lewitt Graphics with D3.JS.. version 7.8.5..

MIT Licensed

Similar vizzes