Skip to main content
100%

eiwoqp

✓ Published0🌍 Public
OOverpitch
Last edited Jan 7, 2024
Created on Jan 7, 2024

This example reproduces a Sol LeWitt art piece using only raw SVG and JavaScript, without any external libraries. It draws a grid of horizontal and vertical rectangles that are selectively revealed through two overlapping circular masks, creating a layered geometric composition. The code defines the masks with `<mask>` elements, using white and black fills to control visibility, and generates 100 rectangles in each direction with a simple loop. The result is a dynamic, minimalist pattern that responds to the browser window size.

AI-generated description

A reproduction of a Sol LeWitt art piece.

MIT Licensed

Similar vizzes