Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Sol LeWitt Reproduction in d3

Public visualization

Sol LeWitt Reproduction in d3

0 stars1🌍 Public
Gg1g10
Last edited Aug 11, 2022
Created on Aug 10, 2022

This example reproduces a Sol LeWitt-style drawing using d3 and SVG. It shows a grid of thin black horizontal and vertical lines, arranged in bands, with a circular mask that reveals the lines in the center while hiding them elsewhere and a second mask that creates a central black circle outline. The code uses d3’s `select`, `range`, `symbol`, and `symbols` APIs to generate the shapes. The program reads the full browser window dimensions for its canvas and draws a 100-band grid, placing the circle masks at the screen’s center.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed