Skip to main content
100%

Sol LeWitt Reproduction (D3)

✓ Published0🌍 Public
AAlpineStranger
Last edited Oct 28, 2022
Created on Oct 28, 2022

This example reproduces a Sol LeWitt-style wall drawing using D3.js, generating a grid of black vertical and horizontal lines across the full browser window. The code computes line positions from fixed gaps between margins, creating 18 vertical and 9 horizontal lines with red strokes on the vertical set. It renders as SVG via D3 selections and the `join()` method, using `d3.range`-like loops and data arrays built from `window.innerWidth` and `innerHeight`. No external dataset is loaded; the drawing is purely generative.

AI-generated description
MIT Licensed

Similar vizzes