Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Sol LeWitt Reproduction with D3

Public visualization

Fork of Sol LeWitt Reproduction with D3

0 stars0🌍 Public
Ccniekel
Last edited Nov 5, 2023
Created on Nov 5, 2023

This example recreates a Sol LeWitt-inspired geometric composition using D3.js, displaying ten red-striped rectangles overlaid with a circular mask and a diamond-shaped symbol. The SVG rendering uses `d3.select`, `range`, `scaleBand`-like positioning via manual arithmetic, and `symbol` to generate the diamond path. A mask defined with `<mask>` and appended shapes—a white background rect, a black circle, and a white diamond—controls which parts of the green-filled, red-stroked rectangles remain visible. The artwork scales to the full browser window, with layout based on `window.innerWidth` and `window.innerHeight`.

AI-generated description

A reproduction of a Sol LeWitt art piece.

Comments

Sign in to join the discussion.

MIT Licensed