Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Simley Face Part I

Public visualization

Simley Face Part I

1 star3🌍 Public
DDaniel Zsido
Last edited Nov 17, 2021
Created on Nov 13, 2021
Forked from HTML Starter

This example shows a smiling face built from a yellow background circle, two black eyes, and a curved mouth, rendered as SVG in a React component hierarchy. The face is centered on an 960×500 canvas using a `FaceContainer` that translates an SVG group to the midpoint. Individual components like `BackgroundCircle`, `Eyes`, and `Mouth` accept geometric props for positions and sizes. The mouth’s arc is generated with the `d3.arc` API, specifying inner/outer radii and start/end angles. All shapes are drawn with SVG primitives inside a React tree, using hard-coded dimensions.

AI-generated description

Half way towards a simley face.

Comments

Sign in to join the discussion.

MIT Licensed