Skip to main content
100%

Fork of Full Sol LeWitt Reproduction with D3

✓ Published0🌍 Public
Lliu yang
Last edited Nov 10, 2023
Created on Nov 10, 2023

This example generates a full-screen grid of thin horizontal and vertical stripes, using SVG masks to create a circular cutout at the center revealing a solid white disk. The stripes are rendered as individual SVG `rect` elements within two groups, with each group masked by a radial shape. The code uses the D3.js library’s `select`, `range`, and `symbol` functions, along with symbol paths to produce the mask geometry. The layout is derived from the browser’s viewport dimensions, making the visualization responsive to the window size.

AI-generated description

Sol LeWitt Reproduction

MIT Licensed

Similar vizzes