Skip to main content
100%

Fork of Sol LeWitt Reproduction Verticle

✓ Published1🌍 Public
PPrince Kumar
Last edited Mar 17, 2024
Created on Mar 17, 2024

This example reproduces a Sol LeWitt-inspired drawing using only SVG shapes. It shows a grid of thin horizontal and vertical rectangles overlaid on the full viewport, with a circular mask creating a central aperture. The code uses the raw DOM API via `document.createElementNS` to build the SVG, `mask` elements to define clipping regions, and `rect` elements for the grid lines. Two complementary masks isolate the horizontal and vertical strokes, producing a clean intersection effect. No external libraries are used; the rendering relies entirely on native SVG attributes and JavaScript.

AI-generated description

A demonstration of SVG shapes.

MIT Licensed

Similar vizzes