Fork of Fill & Stroke
✓ Published0🌍 Public
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 descriptionA demonstration of SVG shapes.
MIT Licensed