Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Smile Face Pt 1

Public visualization

Viewing a saved revision (read-only)

68c4a78ec6b848718cfca4a521d0c007

Smile Face Pt 1

0 stars0🌍 Public
Zzilvus
Last edited Feb 15, 2020
Created on Feb 15, 2020
Forked from Hello HTML

This example renders a static smiley face using only Scalable Vector Graphics (SVG) primitives. It consists of a large yellow circle with a black stroke for the head, and two smaller black circles for the eyes, all laid out on a 960 by 500 pixel canvas. The code defines the shapes declaratively via SVG's `circle` elements and their `cx`, `cy`, and `r` attributes, with colors and stroke widths set through inline presentation attributes. Rendering is handled directly by the browser's SVG engine, and the example's only interaction with React is a console log of the library itself.

AI-generated description

A bare minimum HTML page.