🌍 Public
Viewing a saved revision (read-only)
8f0d1e22351f4a23ad872c636305d650
SVG Fundamentals
This example demonstrates fundamental SVG drawing primitives within a fixed 960×500 canvas. It shows how basic shapes—rectangles, circles, lines, and paths—are declared using SVG elements and styled with fill and stroke attributes. The code directly uses the SVG API for drawing, with no JavaScript or external libraries, to illustrate rendering a bordered frame, three solid-colored circles, a diagonal orange line, and a multi-segment black path forming a star-like outline.
AI-generated descriptionA demonstration of SVG elements