Skip to main content
100%

Let's Make a Face Part I - mkw

✓ Published0🌍 Public
Mmkwvonmkwson
Last edited Aug 7, 2021
Created on Aug 7, 2021

A single yellow circle with a black outline is drawn on an SVG canvas, centered within a 960x500 viewport. The example builds a simple smiley face, starting with the face outline and placeholder eyes positioned at fixed coordinates. The implementation uses React to render SVG elements, with ReactDOM mounting the component to the DOM. The circle's radius is calculated from the center Y position minus a stroke width, though the code references an undefined `strokwidth` variable in the radius computation.

AI-generated description

Half way towards a smiley face.

MIT Licensed

Similar vizzes