Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Sol LeWitt Reproduction Verticle

Public visualization

Viewing a saved revision (read-only)

7cf80e12e52f4c47a56f90df6b12c9d7

Sol LeWitt Reproduction Verticle

0 stars1🌍 Public
PPrince Kumar
Last edited Mar 17, 2024
Created on Mar 17, 2024

This example reproduces a Sol LeWitt-inspired drawing using only SVG elements. It shows a grid of horizontal and vertical lines confined to a circular mask, creating a clean, geometric composition. The visualization is generated procedurally with JavaScript, using the Document Object Model (DOM) APIs to create SVG nodes. A white circle on a black mask defines the visible area, while 100 horizontal rectangles and 100 vertical rectangles are drawn across the full canvas, with the horizontal set clipped by the mask. The code relies on native browser APIs such as `document.createElementNS` and `setAttribute`, with no external libraries.

AI-generated description

A demonstration of SVG shapes.