Skip to main content
100%

Fork of Fill & Stroke

✓ Published0🌍 Public
PPratik Raja
Last edited Jul 24, 2024
Created on Jul 24, 2024
Forked from Fill & Stroke

This example demonstrates the difference between shapes with default black fill and no stroke, and shapes with white fill and a black stroke, using SVG primitives. It shows rectangles, circles, and custom paths created with cubic Bézier curves, all rendered on a 960 by 500 canvas. The code uses raw SVG elements like `rect`, `circle`, and `path` directly in an HTML file, with no external libraries, and includes both unfilled and stroked versions of each shape for comparison.

AI-generated description

A demonstration of SVG shapes.

MIT Licensed

Similar vizzes