Skip to main content
100%

Sol lewitt reproduction with D3 JVK

✓ Published1🌍 Public
Kkakkanadjoy@yahoo.com
Last edited Dec 18, 2024
Created on Dec 18, 2024

This example reproduces a Sol Lewitt wall drawing using D3.js version 7.9.0 and SVG rendering. It displays a grid of alternating horizontal and vertical striped rectangles, where two circular masks reveal the intersecting lines. The code uses `d3.range` to generate 100 indices for positioning the stripes, and the D3 selection API (`select`, `append`, `attr`, `data`, `join`) to build the SVG structure and apply the mask definitions. The masks are constructed with black and white circles and rectangles to selectively show or hide portions of the line patterns.

AI-generated description

A Sol Lewitt ReproductionSol Lewitt art piece

MIT Licensed

Similar vizzes