Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

SOl Le witt with D3

Public visualization

SOl Le witt with D3

0 stars0🌍 Public
Ddexuzi
Last edited Aug 16, 2022
Created on Aug 15, 2022

This example recreates a Sol LeWitt-inspired drawing using D3.js, showing a grid of horizontal and vertical bars that intersect within two circular masks. The SVG rendering uses D3 selections and data joins to generate 100 horizontal rectangles and 100 vertical rectangles, each constrained by a separate mask. The first mask reveals horizontal bars through a white circle on black, while the second uses the inverse, creating a contrasting circular crosshatch pattern. The code leverages D3’s `select`, `append`, and `range` APIs to build the scene dynamically.

AI-generated description

A reproduction of sol le witt()

Comments

Sign in to join the discussion.

MIT Licensed