Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

tesT 1

Public visualization

tesT 1

0 stars1🌍 Public
NNita
Last edited Jan 2, 2024
Created on Jan 2, 2024

This example demonstrates the SVG fundamentals of creating and styling shapes. It first renders a single static red circle, then uses a JavaScript loop to generate fifty additional circles with random positions, radii, and colors. The code employs the SVG `circle` element and the `createElementNS` API from the DOM to dynamically append shapes to the SVG canvas. Rendering occurs in the browser via a 1000 by 1000 pixel SVG viewport, with data and attributes generated procedurally using `Math.random`.

AI-generated description

Demonstration of SVG shapes.

Comments

Sign in to join the discussion.

MIT Licensed