Skip to main content
100%

Fork of Let's Make a Face Part I

✓ Published0🌍 Public
Ggabrielribeirob
Last edited Nov 11, 2021
Created on Nov 11, 2021

A React component renders a yellow circle with a black outline as the first step toward building a smiley face. The SVG uses fixed dimensions of 960 by 500 pixels, centering the circle at the midpoint. The code calculates the radius from the center Y position minus half the stroke width, allowing the circle to fit within the viewport. ReactDOM mounts the component to the root div, demonstrating basic SVG shape creation with React 16.9 in a simple, static visualization.

AI-generated description

Half way towards a smiley face.

MIT Licensed

Similar vizzes