Skip to main content
100%

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

✓ Published0🌍 Public
MMONNNA-ARCH
Last edited Jan 15, 2021
Created on Jan 15, 2021

A grid of randomized faces is rendered, each assembled from SVG shapes composed in React components. The face includes a pink background circle, two eyes of differing radii, a mouth drawn with d3’s `arc` API, and rectangular teeth. The `range` function from d3 generates the array, and `Math.random` drives variation in stroke width, eye offset, and mouth dimensions across the 18 instances. The `FaceContainer` uses an SVG `<g>` transform to center each face within its viewport.

AI-generated description

Half way towards a smiley face.

MIT Licensed

Similar vizzes