Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Refactoring of Sol LeWitt with functions in d3

Public visualization

Refactoring of Sol LeWitt with functions in d3

0 stars0🌍 Public
Llukasilg.sol@gmail.com
Last edited May 27, 2024
Created on May 27, 2024

This example reproduces a Sol LeWitt art piece using D3 v6. It creates a grid of horizontal and vertical rectangles that are selectively revealed through two SVG masks. The masks use D3’s `symbol` and `symbols` APIs to generate geometric shapes, which act as windows showing either the horizontal or vertical lines. Rectangles are generated with `range`, `selectAll`, and `join`, while `renderMask` is called via `svg.call` to apply the two mask layers.

AI-generated description

A reproduction of a Sol LeWitt art piece.

Comments

Sign in to join the discussion.

MIT Licensed