Skip to main content
100%

SVG Fundamentals

✓ Published0🌍 Public
BBen-Chamberlain
Last edited Sep 26, 2022
Created on Sep 26, 2022
Forked from HTML Starter

This example demonstrates fundamental SVG shapes by drawing a single black triangle using a path element within an 800-by-800 pixel SVG canvas. The triangle is defined with the `d` attribute specifying coordinates from a starting point at (100,75) through (50,150) and (150,150), closed with the `z` command. The path uses a 5-pixel black stroke with rounded line joins and a black fill. The HTML includes commented-out concentric circles that illustrate alternative shape techniques, though only the triangle renders in the final output.

AI-generated description

A demonstration of SVG Shapes

MIT Licensed

Similar vizzes