Skip to main content
100%

Fork of HTML Starter

✓ Published0🌍 Public
Ssahilraj3733m@gmail.com
Last edited Apr 17, 2024
Created on Apr 17, 2024
Forked from HTML Starter

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 description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

MIT Licensed

Similar vizzes