Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Sol LeWitt with D3

Public visualization

Sol LeWitt with D3

0 stars1🌍 Public
Llukasreber
Last edited Jun 20, 2022
Created on Jun 20, 2022
Forked from Sol LeWitt

This example recreates a Sol LeWitt–inspired geometric drawing using D3.js. It displays 100 horizontal and 100 vertical rectangles that intersect within two circular masks, producing a crosshatched pattern confined to circular regions. The visualization uses D3’s `select`, `range`, and data joins to bind arrays of indices to SVG `rect` elements. Masking is implemented with two SVG `mask` definitions, each combining a full-canvas rectangle with a circle, to alternately reveal or hide the grid lines.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed