Skip to main content
100%

Fork of Let's Make a Face Part I

✓ Published0🌍 Public
KKeyvan Rezaei
Last edited May 18, 2021
Created on May 18, 2021

A grid of 18 randomly generated cartoon faces, each rendered as a yellow circle with black outline, two eyes, and an arched mouth. The example uses React to instantiate multiple `Face` components, each composed of `BackgroundCircle`, `Eyes`, and `Mouth` subcomponents, which build SVG elements. The `Mouth` component leverages d3’s `arc()` API to compute the path for a smile, with randomized dimensions for facial features.

AI-generated description

Half way towards a smiley face.

MIT Licensed

Similar vizzes