Skip to main content
100%

Fork of Smiley

✓ Published0🌍 Public
WWaqSid99
Last edited Jun 7, 2021
Created on Jun 7, 2021
Forked from Smilyy

This gallery example renders a grid of eighteen randomly parameterized smiling faces. Each face is built from React components that compose an SVG scene, with a yellow background circle, black eyes, and an arc-based mouth. The mouth shape uses the d3 `arc()` generator with randomized inner and outer radii and a fixed angular span. React’s `range()` from d3 generates the array that maps to each face, with random offsets for eye position and mouth width controlling individual variations.

AI-generated description

Stepping stone in learning React and d3.js

A cool project to generate smiling emojis based on random size parameters

MIT Licensed

Similar vizzes