Skip to main content
100%

Fork of Fork of Let's Make a Face Part I

✓ Published0🌍 Public
Uubik-valis
Last edited Dec 22, 2021
Created on Dec 22, 2021

Ten randomly generated smiley faces are rendered in a grid using React and SVG. Each face uses a yellow background circle, two eyes, and a mouth arc drawn with the d3.arc() API. The `Face` component composes smaller components for the background, eyes, and mouth, with all geometry positioned relative to a central transform. Randomized values for stroke width, eye offset, eye radius, and mouth dimensions are set inline via `Math.random()` during each render.

AI-generated description

Half way towards a smiley face.

MIT Licensed

Similar vizzes