Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Sol Lewitt in Vanilla JS Project Attempt #1

Public visualization

Sol Lewitt in Vanilla JS Project Attempt #1

0 stars1🌍 Public
CCasualWanderer20XX
Last edited Sep 8, 2025
Created on Aug 12, 2025
Forked from HTML Starter

This example recreates a Sol Lewitt-inspired geometric drawing using nested, alternating black-and-white rectangles that shrink toward the center of an SVG canvas. The work is generated entirely with vanilla JavaScript, manipulating SVG elements through the Document Object Model (DOM) and the `createElementNS` API. It renders a grid of concentric rectangles with varying stroke widths and fill colors, producing a static, pattern-based composition. The code uses raw SVG string concatenation within a loop to build the shapes, with no external libraries or data sources involved.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed