Skip to main content
100%

Sol LeWitt reproduction

✓ Published1🌍 Public
Aaidarshafeev1@gmail.com
Last edited Jan 4, 2024
Created on Jan 4, 2024
Forked from SVG Fundamentals

This example demonstrates the basics of SVG shape creation through a minimal script that appends a single rectangle to the document. A JavaScript script dynamically generates an SVG element, sets its width to 960 pixels, and appends a rect element using the standard DOM API (`createElement`, `setAttribute`, `appendChild`). The code uses raw SVG without external libraries, showing how to construct vector graphics programmatically. The page hides overflow and margin, making the shape appear in an otherwise blank canvas, though the rectangle’s height is misspelled as "hight" and remains unset.

AI-generated description

A demonstration of SVG shapes.

MIT Licensed

Similar vizzes