Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Smiley Face Part 6

Public visualization

Fork of Smiley Face Part 6

0 stars0🌍 Public
Hhukbk
Last edited Jan 24, 2022
Created on Jan 24, 2022
Forked from Smiley Face Part 6

This gallery example renders a grid of procedurally generated smiley faces using React and SVG. Each face is composed of modular components—a background circle, eyes, and an arc-based mouth—that receive randomized dimensions for stroke width, eye offset, eye radius, mouth width, and mouth radius. The `arc` generator from d3 creates the curved mouth path, while React’s component composition and the `range` utility from d3 produce an array of 18 unique faces with varying features.

AI-generated description

Finished

Comments

Sign in to join the discussion.

MIT Licensed