Skip to main content
100%

Sol LeWitt reproduction with d3

✓ Published1🌍 Public
FFrancisco Ibelles
Last edited Feb 7, 2024
Created on Feb 7, 2024

This example reproduces a Sol LeWitt–inspired geometric composition using D3 v7. It renders a grid of horizontal and vertical bars, each clipped by a circular mask to create a bold, minimalist pattern. The code uses `d3.select`, `d3.range`, and `join` to generate SVG `<rect>` elements, while two overlapping masks (`circle-mask` and `circle-mask-2`) selectively reveal or hide bars within and outside the central circle. The result is an interplay of lines and negative space, driven entirely by SVG primitives and data-driven iterations.

AI-generated description

Example of a picture create for le author Sol LeWitt

MIT Licensed

Similar vizzes