Skip to main content
100%

Full Sol LeWitt Reproduction with D3

✓ Published0🌍 Public
GGbemiga Atolagbe
Last edited Jun 12, 2024
Created on Jun 12, 2024

This example reproduces a Sol LeWitt wall drawing using D3 v6 with SVG rendering. It displays a grid of alternating horizontal and vertical black lines that become visible only within two overlapping circular regions, created through SVG mask elements. The code uses `d3.select` and `d3.range` to generate 100 line segments in each direction, with the masks defining the circular viewport. This demonstrates how D3 can combine basic shape generation with SVG mask operations to create geometric art based on LeWitt’s conceptual instructions.

AI-generated description

A reproduction of a Sol LeWitt art piece.

MIT Licensed

Similar vizzes