Sol LeWitt reproduction
✓ Published1🌍 Public
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 descriptionA demonstration of SVG shapes.
MIT Licensed