svg lines
✓ Published0🌍 Public
This visualization displays a series of vertical rectangles across the full viewport, creating a pattern resembling spaced lines. The page generates 100 SVG rectangles, each 10 pixels wide and spaced 20 pixels apart, using raw DOM manipulation via `document.createElementNS` to construct the SVG elements. The rectangles span the full height of the window, which is dynamically set using `window.innerWidth` and `window.innerHeight`. The code relies on standard web APIs for SVG creation and attribute setting, with no external libraries or data sources involved.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed