Skip to main content
100%

Fork of Let's Make a Face Part I

✓ Published0🌍 Public
PPratyushSn
Last edited Dec 16, 2021
Created on Dec 16, 2021

This example shows a simple smiley face built from three SVG circles: one large yellow circle for the head and two smaller black circles for the eyes. The code uses raw SVG elements with explicit `cx`, `cy`, and `r` attributes, along with inline styling for the fill and stroke colors. The face is centered on a 960 by 500 viewport, with the head positioned at the middle and the eyes offset horizontally. No additional JavaScript libraries are used; the visualization relies entirely on static SVG markup rendered directly in the browser.

AI-generated description

Half way towards a smiley face.

MIT Licensed

Similar vizzes