Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Lesson - Sol LeWitt reproduction

Public visualization

Viewing a saved revision (read-only)

f8c1dd7867774f4f8f9bc8061bb8204d

Lesson - Sol LeWitt reproduction

0 stars1🌍 Public
Aastrologyhesitant
Last edited Sep 20, 2022
Created on Sep 20, 2022
Forked from HTML Starter

This example reproduces a Sol LeWitt-style drawing using raw SVG elements generated through JavaScript. It creates a full-screen SVG canvas and populates it with one hundred vertical rectangles, each 10 pixels wide, spaced 20 pixels apart, filling the viewport’s height. The code uses the Document API’s `createElementNS` to programmatically construct SVG `<rect>` nodes and appends them to the document body, with CSS setting the fill to black. The result is a minimalist, grid-like pattern of evenly spaced black bars across the screen.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.