Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Sol Lewitt Piece

Public visualization

Viewing a saved revision (read-only)

5c938708239e4eeeba833cb9963682b8

Sol Lewitt Piece

0 stars1🌍 Public
Yyejichun@naver.com
Last edited Jun 28, 2024
Created on Jun 28, 2024
Forked from Javascript Basics

This example reproduces a Sol LeWitt-style drawing using only JavaScript and the Document Object Model (DOM). It generates a full-screen SVG canvas and fills it with 100 vertical rectangles, each 10 pixels wide and spaced 20 pixels apart, creating a rhythmic, wall-like grid pattern. The code uses `document.createElementNS` to construct SVG elements directly, without any external libraries, and sets the canvas dimensions to the browser window’s inner width and height. The rendering is purely algorithmic, based on a loop that iterates through horizontal positions, with no external data source.

AI-generated description

A reproduction of a Sol LeWitt art piece.