Skip to main content
100%

Fork of Sol LeWitt Reproduction Using D3

✓ Published0🌍 Public
Nnreinig3@gatech.edu
Last edited Dec 7, 2023
Created on Dec 4, 2023

This example recreates Sol LeWitt’s geometric wall drawings using D3 and React, rendering an SVG that fills the browser window. It draws 100 horizontal striped rectangles, each 10 pixels tall and spaced 20 pixels apart, with a circular mask applied to clip the pattern into a central disc. The code relies on D3’s `select` to build the SVG and mask elements, while width and height derive from `window.innerWidth` and `window.innerHeight`. The approach echoes LeWitt’s instructions-based art, translating his algorithmic rules into generative code.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

MIT Licensed

Similar vizzes