Skip to main content
100%

Exercise Sol LeWitt Reproduction with D3

✓ Published0🌍 Public
Rrwata97
Last edited Apr 19, 2023
Created on Apr 19, 2023

This example reproduces a Sol LeWitt art piece using D3.js, generating a grid of overlaid horizontal and vertical rectangles that are masked to create a geometric, abstract composition. The visualization uses `d3.select`, `d3.range`, and `d3.symbols` to create SVG elements, with `d3.symbol` generating custom shapes within masks. The code dynamically assigns x and y positions to the rectangles, alternating between horizontal and vertical orientations, and applies inverted and non-inverted masks to achieve the layered visual effect. The result is a generative, screen-filling artwork that mimics the minimal, rule-based style of LeWitt's wall drawings.

AI-generated description

A reproduction of a Sol LeWitt art piece.

MIT Licensed

Similar vizzes