Skip to main content
100%

Let's Make a Face

✓ Published2🌍 Public
OOleJRask
Last edited Aug 24, 2021
Created on Aug 19, 2021

A grid of 171 randomly generated faces fills the screen, each built from SVG circles and arcs. The React components—BackgroundCircle, Eyes, and Mouth—draw a yellow smiley with black outline, while the Face container uses the d3 `arc` generator for the mouth shape. Each face randomizes eye offset, mouth radius, and vertical translation, creating a playful, varied wall of cartoon characters. The example demonstrates modular React composition with d3-generated paths inside an SVG renderer.

AI-generated description

Half way towards a smiley face.

MIT Licensed

Similar vizzes