Skip to main content
100%

Fork of Fork of FULL sol l. reprod. w/ d3

✓ Published2🌍 Public
Kkhaledakanan@gmail.com
Last edited Jun 8, 2024
Created on Jun 8, 2024

This example recreates Sol LeWitt's generative art using an SVG canvas with D3.js. It shows a grid of horizontal and vertical lines whose appearance is modified by two masks, creating a dynamic interplay of shapes and negative space. The code uses D3's `select`, `range`, and `symbols` APIs to generate the geometry, and it defines custom mask elements with `mask.append()` to selectively reveal or hide parts of the line pattern. The rendering is purely vector-based, with dimensions derived from the browser window's `innerWidth` and `innerHeight`.

AI-generated description

A recreation of Sol LeWitt's Art

MIT Licensed

Similar vizzes