Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Let's Make a Face Part I

Public visualization

Fork of Let's Make a Face Part I

0 stars0🌍 Public
AAustin White
Last edited Apr 18, 2021
Created on Apr 17, 2021

A stylized cartoon face is rendered as a reusable React component, showing how SVG primitives compose to build a simple character. The face uses a yellow background circle, two eyes, and a mouth drawn with D3's `arc` generator, positioned via React props for offsets and radii. The `FaceContainer` wraps the SVG and uses a `<g>` transform to center the drawing, while configuration values like stroke width and eye spacing come from the top-level `App` component. D3 v6 is used only for the mouth arc path calculation.

AI-generated description

Half way towards a smiley face.

Comments

Sign in to join the discussion.

MIT Licensed