Skip to main content
100%

Let's Make a Face Part 2

✓ Published0🌍 Public
BBrandon Williams
Last edited Mar 26, 2022
Created on Mar 21, 2022

Eighteen randomized smiley faces repeat across the page, each face varying in stroke thickness, eye radius, and mouth radius. The SVG is generated with React components, while D3’s `range` creates the array of faces and `d3.arc` constructs the mouth’s annular path. Each face is centered in a 160-by-160 viewport with a yellow circle, offset black eyes, and a semi-circular mouth.

AI-generated description

Half way towards a smiley face.

MIT Licensed

Similar vizzes