Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Full Sol Lewitt D3 changing rect dir

Public visualization

Viewing a saved revision (read-only)

b6b8cdcfc4df4a86aa11a05fd219d53c

Full Sol Lewitt D3 changing rect dir

0 stars0🌍 Public
Ppirani.sabah@gmail.com
Last edited Nov 18, 2024
Created on Nov 18, 2024

This example, built with D3.js (version 6.6.1), dynamically generates a Sol LeWitt-inspired drawing of alternating vertical and horizontal black rectangles. The code uses D3's `select`, `range`, `symbols`, and `symbol` APIs to construct SVG elements and masks. It creates two layers of rectangles, each masked by a group of three geometric symbols (like circles or squares), producing a complex, intersecting pattern. The rectangles are generated programmatically based on screen dimensions, with mask shapes positioned horizontally across the canvas.

AI-generated description