Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of making a face

Public visualization

Fork of making a face

0 stars1🌍 Public
Llucaly74@gmail.com
Last edited Sep 9, 2024
Created on Sep 6, 2024

A grid of fifteen randomly generated faces appears, each rendered as an SVG via React. The faces share fixed eye placement and mouth dimensions, but vary in stroke width and eye radius due to `Math.random()` calls in the `range` loop. The code builds composite components from modular parts—a yellow background circle, eyes, and a mouth—using parametric props. The mouth’s arc is generated with D3’s `arc()` API, while React and ReactDOM assemble the SVG elements into the final grid.

AI-generated description

A bare minimum HTML page.

Comments

Sign in to join the discussion.

MIT Licensed