Skip to main content
100%

Fork of SVG Fundamentals

✓ Published0🌍 Public
TT-Reiser
Last edited Aug 30, 2021
Created on Aug 30, 2021
Forked from SVG Fundamentals

This example demonstrates basic SVG shape construction using only native SVG elements—circles, lines, and paths—without additional libraries. It shows two overlapping red and green circles, a navy diagonal line, a curved path fill, and a stroked polyline path on a 960-by-500 canvas. The circles render sequentially, with the green one covering the red center, while commented-out rectangle code remains inactive. The rendering relies directly on SVG’s coordinate system and attributes like `cx`, `cy`, `r`, `stroke-width`, and path `d` syntax, with no JavaScript or data binding involved.

AI-generated description

A demonstration of SVG shapes.

MIT Licensed

Similar vizzes