Skip to main content
100%

SOl Le witt with D3

✓ Published0🌍 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()

MIT Licensed

Similar vizzes