Skip to main content
100%

Fork of Sol LeWitt Reproduction

✓ Published0🌍 Public
SScott-Zeta
Last edited May 18, 2022
Created on May 18, 2022

This is a generative visualization that reproduces a Sol LeWitt art piece by layering horizontal and vertical black-and-white stripes within a centered circular mask. The code uses the SVG API to create 100 horizontal rectangles and 100 vertical rectangles, each with a height or width of 10 pixels, and applies two distinct masks (`circle-mask` and `circle-mask-2`) to reveal the stripes only inside the circle. The first mask shows the horizontal bars, while the second mask inverts its effect to display the vertical bars, resulting in a crosshatched pattern over the entire viewport. The piece dynamically adapts to the browser window dimensions, with no external data source or libraries beyond the native DOM manipulation.

AI-generated description

A reproduction of a Sol LeWitt art piece.

MIT Licensed

Similar vizzes