Skip to main content
100%

Fork of Fork of Sol LeWitt Reproduction

✓ Published0🌍 Public
MMaras13
Last edited Sep 20, 2022
Created on Sep 20, 2022

This example reproduces a Sol LeWitt drawing using only raw SVG and JavaScript, with no external libraries. It displays a grid of alternating horizontal and vertical lines that remain visible only within two intersecting circular masks, creating a dynamic visual interplay between the line directions. The code builds the SVG dynamically by appending a set of horizontal rectangles masked by a black/white circle, and vertical rectangles masked by an inverse circle, both centered on the screen. The rendering relies on native SVG mask elements and DOM manipulation in plain JavaScript.

AI-generated description

A reproduction of a Sol LeWitt art piece.

MIT Licensed

Similar vizzes