Skip to main content
100%

Fork of Let's Make a Face Part I

✓ Published0🌍 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.

MIT Licensed

Similar vizzes