🌍 Public
Viewing a saved revision (read-only)
9fd5115a0c434f989f68e822fe300e0a
Sol Lewitt Viz-Part II
This example demonstrates the fundamentals of programmatic SVG rendering through the creation of a single black vertical rectangle on a white canvas. The visualization combines an SVG element with a rectangle, both generated entirely through JavaScript’s `createElementNS` method and appended to the document body. The code specifies the SVG namespace, sets the canvas dimensions to 500 by 500 pixels, and positions the rectangle at an x-coordinate of 90 with a width of 10 and height of 300. The work is inspired by Sol LeWitt’s geometric art, using a minimal approach that highlights basic vector graphics construction.
AI-generated description