Skip to main content
100%

Sol LeWitt Reproduction with D3 - Part II

✓ Published1🌍 Public
WWolfgang
Last edited May 7, 2021
Created on May 7, 2021

This interactive SVG reproduction of a Sol LeWitt artwork displays a grid of thin horizontal and vertical lines, visible only within two circular masks that create a layered, crosshatched effect. The piece uses D3.js to generate 100 rectangles in each direction, positioning them with `range(n)` and the `.join()` API before applying masks defined with SVG `mask` elements. A white circle in the first mask reveals the underlying pattern, while a black circle in the second mask blocks the second layer. The code runs in a React environment, rendering directly to the browser window.

AI-generated description

A reproduction of a Sol LeWitt art piece.

MIT Licensed

Similar vizzes