Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Fill & Stroke

Public visualization

Fork of Fill & Stroke

0 stars0🌍 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.

Comments

Sign in to join the discussion.

MIT Licensed