Skip to main content
100%

Let's make a face

✓ Published1🌍 Public
EEd Hutchinson
Last edited Apr 15, 2023
Created on Apr 15, 2023
Forked from Hello HTML

This example shows a cartoon face built from layered SVG shapes, with a blue circular background, two black eyes, and a curved mouth. The face is composed modularly, with separate React components for the background, eyes, mouth, and a container that translates the center point. The mouth uses the d3.arc() API to generate its path from radius and angle parameters. All elements render as SVG inside a React component tree, positioning the face at the center of a 960-by-500 viewport.

AI-generated description

A bare minimum HTML page.

MIT Licensed

Similar vizzes