🌍 Public
SVG0
This example demonstrates the basic drawing capabilities of the SVG canvas. It shows a single red circle and a two-segment black polyline, both hardcoded directly in the markup. The circle is positioned with explicit `cx` and `cy` coordinates, while the polyline is defined by an `M` (moveto) and two `L` (lineto) commands in its `d` attribute. The code uses raw SVG elements—`circle` and `path`—with no external JavaScript libraries, relying solely on the browser's native SVG rendering.
AI-generated descriptionA demonstration of SVG
MIT Licensed








Comments
Sign in to join the discussion.