Skip to main content
100%

Fork of Let's Make a Face Part I

✓ Published0🌍 Public
VVinh H. Le
Last edited Oct 20, 2022
Created on Oct 20, 2022

This example shows a smiley face built from three SVG circles: a large yellow circle for the head and two smaller black circles for the eyes. The code uses raw SVG elements within an HTML `index.html` file, with the head circle styled using the `fill` and `stroke` attributes. The face is centered on a 960x500 canvas, with eye positions calculated relative to the center. The rendering approach is direct SVG markup, with no external libraries or JavaScript, and the layout is achieved through hardcoded `cx` and `cy` coordinates.

AI-generated description

Half way towards a smiley face.

MIT Licensed

Similar vizzes