Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

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

Public visualization

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

0 stars0🌍 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.

Comments

Sign in to join the discussion.

MIT Licensed