🌍 Public
Viewing a saved revision (read-only)
c4c21fa579624e778c8da8437a852f20
Lesson - Sol LeWitt reproduction
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 descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.