fork
This example demonstrates the basic building blocks of SVG graphics using a static, hand-coded scene. It shows how to create primitive shapes—circles, a rectangle, and a line—within an SVG canvas, distinguishing between default black fills, explicit red fills, and styled strokes with custom colors and widths. The code uses the raw SVG API directly in an HTML document, with attributes like `cx`, `cy`, `r`, `x`, `y`, `stroke`, and `stroke-width` to define geometry and presentation. The scene serves as a minimal, non-interactive visualization, illustrating the foundational syntax for plotting points and drawing simple vector shapes.