Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Sol LeWitt reproduction

Public visualization

Viewing a saved revision (read-only)

d1f9cf95069d4bda8e1023dc31e4997f

Sol LeWitt reproduction

0 stars0🌍 Public
SSantiago Toso
Last edited Mar 6, 2023
Created on Mar 6, 2023
Forked from HTML Starter

This example reproduces a Sol LeWitt drawing using an SVG canvas. It shows a single black square rectangle positioned at the top-left corner of a 960×500 pixel viewport. The code creates the SVG and rectangle elements dynamically using the DOM API `document.createElementNS` with the SVG namespace, then appends them to the page body. The rectangle’s dimensions are set via `setAttribute`, though its fill color is commented out, leaving it with the default black.

AI-generated description

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

See also React Starter.