Skip to main content
100%

SVG Fundamentals

✓ Published1🌍 Public
Jjinjuta.s.au@gmail.com
Last edited Mar 4, 2024
Created on Mar 4, 2024
Forked from HTML Starter

This example demonstrates fundamental SVG shapes, including circles, rectangles, lines, and paths, rendered with various fill colors, strokes, and coordinates on a 960×500 canvas. The code uses plain SVG elements embedded directly in HTML, with no external libraries or frameworks. It shows basic properties like `cx`, `cy`, `r`, `x`, `y`, `width`, `height`, `stroke`, and `stroke-width` to illustrate how geometric primitives compose a static vector graphic. The rendering relies solely on browser-native SVG support, making it a minimal introduction to vector graphics markup.

AI-generated description

A demonstration of SVG shapes.

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

See also React Starter.

MIT Licensed

Similar vizzes