SVG Fundermentals
✓ Published0🌍 Public
This example demonstrates basic SVG shape rendering, showing two overlapping circles and a large rectangle in a fixed 960-by-400 viewport. The circles use `fill` properties to render red and green, while the rectangle applies both a yellow fill and a navy `stroke` with a 10-pixel `stroke-width`. The code uses raw SVG elements—`circle` and `rect`—directly in HTML markup without any JavaScript libraries. Rendering relies on the browser’s native SVG support, with shapes positioned via explicit `cx`, `cy`, `x`, and `y` coordinates. The static composition illustrates vector graphics fundamentals for layout and styling.
AI-generated descriptionA demonstration of SVG shapes.
MIT Licensed