Skip to main content
100%

Smiley Face Part II

✓ Published0🌍 Public
RRandyElkins
Last edited Aug 9, 2021
Created on Jul 30, 2021
Forked from Hello HTML

A grid of randomly generated smiley faces fills the frame. Each face uses random values for stroke width, eye size and position, mouth radius, and background color, creating a varied collection. Built with React and D3, the faces are composed of SVG primitives: circles for the background and eyes, and a D3 arc path for the mouth. The D3 `range` function generates the six-by-three grid of faces, while helper functions produce random integers and RGB colors.

AI-generated description

Half-way towards a smiley-face.

MIT Licensed

Similar vizzes