Skip to main content
100%

LeWitt Art With Triangle in D3

✓ Published1🌍 Public
AAkbarjon
Last edited May 17, 2022
Created on May 17, 2022
Forked from Sin circles

This example reproduces a Sol LeWitt-inspired piece using D3 v7, rendering an SVG that fills the browser window with a grid of vertical and horizontal black stripes. The stripes are generated from two sets of 100 rectangles, and a large triangle symbol is used as a mask to create the artwork's central geometric cutout. The code uses `d3.select` to append the SVG, `d3.range` to generate the stripe data, and `d3.symbol` with `d3.symbolTriangle` to create the triangle path applied through SVG masks, producing the layered visual effect.

AI-generated description

a reproduction of a sol LeWitt art piece.

MIT Licensed

Similar vizzes