Skip to main content
100%

Fork of Sol Lewitt, Now d3

✓ Published1🌍 Public
JJoel Wilson
Last edited Nov 7, 2024
Created on Nov 7, 2024
Forked from Fork of Starter

This example reproduces Sol Lewitt’s geometric wall drawing using D3.js, creating a grid of vertical and horizontal bars on an SVG canvas. It visualizes the interaction of two perpendicular bar sets, where a circular mask reveals or hides portions of each set to produce overlapping patterns. The code employs D3’s selection and range functions to generate bars, and SVG mask elements to apply contrasting circular cutouts. The composition shifts between shown and hidden bar segments, echoing Lewitt’s algorithmic art. The rendering fills the browser window, with bar placement calculated from screen dimensions.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes