Skip to main content
100%

Fork of Full of Sol LeWitt Reproduction with D3

✓ Published1🌍 Public
IIgorGorin00
Last edited Mar 19, 2023
Created on Mar 19, 2023

A D3.js reproduction of a Sol LeWitt art piece renders a grid of thin horizontal and vertical rectangles across the full browser window. The code uses `d3.range()` and `d3.select` to generate 100 rows and columns, then applies two SVG masks to shape the overlapping lines. Each mask contains a large `d3.symbol` with a star shape, defined via `symbol(symbols[1], 100000)`, which cuts a circular diamond pattern out of the otherwise regular grid. The masked rectangles create a layered visual where lines appear through the star-shaped holes, demonstrating SVG mask composition with D3 selections.

AI-generated description

a reproduction of a Sol LeWitt art piece.

MIT Licensed

Similar vizzes