Skip to main content
100%

SVG Fundamentals

✓ Published0🌍 Public
TTxominBasterraChang
Last edited Mar 6, 2023
Created on Mar 6, 2023
Forked from HTML Starter

This example demonstrates a single red circle positioned on a blank SVG canvas, illustrating the fundamental building blocks of vector graphics. The code creates an SVG element with a width of 960 pixels, then places a circle at coordinates (150, 50) with a radius of 50. It uses the native SVG API for drawing, with inline attributes for the circle's position, size, and fill color. The example shows how basic shapes are defined declaratively within an HTML document.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

MIT Licensed

Similar vizzes