Fork of HTML Starter
✓ Published0🌍 Public
This example presents two distinct HTML pages that demonstrate SVG rendering in a browser. The first page is a minimal starter that draws primitive shapes—circles, a rectangle, a line, and a path—directly in the markup. The second page is programmatic, using the Document Object Model and `createElementNS` to build an SVG canvas sized to the window. It constructs two masks and applies them to a series of rectangles, generating a Sol LeWitt-inspired geometric pattern with intersecting stripes. The code relies on native browser APIs for SVG creation and manipulation without external libraries.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed