Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Sol LeWitt with D3

Public visualization

Viewing a saved revision (read-only)

298bbb9bcb1242d19fe4a703d4eda647

Sol LeWitt with D3

0 stars1🌍 Public
Aainhoadieruiz@gmail.com
Last edited Dec 1, 2023
Created on Dec 1, 2023
Forked from Sol LeWitt

This example reproduces a Sol LeWitt-style drawing using D3.js, rendering two sets of horizontal and vertical striped rectangles that intersect within circular masks on an SVG canvas. The code generates 100 of each rectangle type, with the first mask revealing a solid circle and the second inverting the pattern, creating a layered geometric contrast. It uses D3’s `select` and `range` functions from version 6.6.1 to build the SVG dynamically, positioning elements based on window dimensions.

AI-generated description

A reproduction of a Sol LeWitt art piece