eiwoqp
✓ Published0🌍 Public
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 descriptionA reproduction of a Sol LeWitt art piece.
MIT Licensed