Skip to main content
100%

Fork of Original Sol LeWitt Reproduction

✓ Published1🌍 Public
JJuan Corrales Correyero
Last edited Sep 11, 2023
Created on Sep 8, 2023

This example uses D3’s `select`, `append`, and `attr` APIs to build an SVG composition that layers two sets of thin rectangular strips—horizontal and vertical—over a full viewport-sized canvas. Two circular SVG masks (`circle-mask` and `circle-mask-2`) are applied, allowing only strips within a 200-pixel radius of the screen center to remain visible; the two masks are inverted, so each direction’s lines are clipped to opposite halves of the circle. The code uses D3’s `range` to generate 100 strips per direction, with dimensions computed from the window’s width and height. This reproduces a Sol LeWitt–style geometric drawing directly in the browser, with no external data source.

AI-generated description

A reproduction of a Sol LeWitt art piece.

MIT Licensed

Similar vizzes