Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Sol LeWitt Reproduction with D3(huihui)

Public visualization

Viewing a saved revision (read-only)

d3185545e3fc4259941b9475c5e8891b

Fork of Sol LeWitt Reproduction with D3(huihui)

0 stars0🌍 Public
LLi Hui
Last edited Aug 2, 2024
Created on Aug 2, 2024

This visualization reproduces a Sol LeWitt art piece using D3.js and SVG rendering. It shows a grid of horizontal and vertical bars overlaid with a circular mask, creating a pattern where the bars are visible only within the circle’s boundary. The code uses D3’s `select`, `range`, and `.join` API to generate and append rectangles, while two SVG masks (`circle-mask` and `circle-mask-2`) define the circular cutout. The layout is computed from the window dimensions, filling the full viewport with the pattern.

AI-generated description

A reproduction of a Sol LeWitt art piece.