Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Smiley face part 1.

Public visualization

Smiley face part 1.

0 stars0🌍 Public
JJairo Hernandez
Last edited Mar 1, 2021
Created on Mar 1, 2021
Forked from Hello HTML

A yellow circle with a black outline rendered as an SVG sits on a white canvas, representing a face before the eyes are added. Built with React 17 and ReactDOM, the example uses hardcoded constants for width, height, and stroke width to position the circle at the canvas center. The circle’s radius is calculated from half the height minus half the stroke width, and the SVG is generated directly through React’s rendering API.

AI-generated description

Halfway towards a smiley face.

Comments

Sign in to join the discussion.

MIT Licensed