Skip to main content
100%

Sol LeWitt Reproduction Final

✓ Published1🌍 Public
AAndre J Denais
Last edited Apr 21, 2021
Created on Apr 21, 2021

This example reproduces a Sol LeWitt wall drawing using pure JavaScript and SVG APIs. It shows a grid of horizontal and vertical striped rectangles overlaid with two circular masks, creating a composition of intersecting lines that fade into a central circle. The code builds SVG elements dynamically via `document.createElementNS`, applying a black-to-white mask and an inverted white-to-black mask to reveal alternating line directions. One hundred horizontal strips and one hundred vertical strips are generated in loops, with the masks controlling visibility to form the final geometric pattern.

AI-generated description

A reproduction of a Sol LeWitt art piece.

MIT Licensed

Similar vizzes