Skip to main content
100%

Fork of Let's Make a Face Part I

✓ Published0🌍 Public
AArkaporn Poonkwan
Last edited Jun 24, 2022
Created on Jun 24, 2022

A minimal React example plots a yellow circle face with two black eyes on an SVG canvas. It uses React 18's UMD build from unpkg and directly renders SVG elements for the face and eyes. The code calculates eye positions relative to the canvas center and face radius, demonstrating coordinate placement within an SVG viewBox. This static composition shows how to create a basic smiley face without interactivity or animations.

AI-generated description

Half way towards a smiley face.

MIT Licensed

Similar vizzes