Skip to main content
100%

SVG fundamentals

✓ Published0🌍 Public
FFrancisco Ibelles
Last edited Feb 1, 2024
Created on Jan 30, 2024
Forked from HTML Starter

This example demonstrates fundamental SVG shapes, including circles, rectangles, lines, and paths, rendered directly in an HTML document. The code uses the native SVG API with elements such as `<circle>`, `<rect>`, `<line>`, and `<path>`, showing attributes like fill, stroke, stroke-width, and path commands (M, L, H, A). A commented-out rectangle and path illustrate alternative configurations, while the visible paths show open and closed contours with varying coordinate systems. The rendering is purely vector-based, requiring no external libraries or data sources.

AI-generated description

Demostration of some SVG shapes

MIT Licensed

Similar vizzes