Skip to main content
100%

Full Sol Lewitt D3

✓ Published1🌍 Public
Ppirani.sabah@gmail.com
Last edited Nov 18, 2024
Created on Nov 13, 2024
Forked from Sol Lewitt D3 v2

This example uses D3’s selection and join API to create a grid of black rectangles overlaid with geometric shapes. Solid black bars are drawn repeatedly, masked by a set of white star-like symbols, while a second mask inverts the shapes to create a cutout effect. The code relies on `d3.select`, `d3.range`, `d3.symbol`, and SVG `mask` elements, with rectangle positions computed from screen width and thickness. The rendering is entirely SVG, driven by JavaScript that calculates layout from `window.innerWidth` and `window.innerHeight`.

AI-generated description
MIT Licensed

Similar vizzes