Skip to main content
100%

Fork of Sol LeWitt Reproduction with D3

✓ Published1🌍 Public
Ccharlieronchetti@gmail.com
Last edited Feb 15, 2024
Created on Feb 15, 2024

This example recreates a Sol LeWitt-style grid of horizontal and vertical bars, with the pattern masked to reveal a central circle. It uses D3’s `select` and `range` to generate 100 rectangular strips in each direction, while two SVG `<mask>` elements—one inverted—combine to create the circular cutout effect. The code runs in a React environment and renders vector graphics as SVG.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

MIT Licensed

Similar vizzes