Skip to main content
100%

Fork of Let's Make a Face Part I

✓ Published0🌍 Public
CCarlos Henrique Cardoso
Last edited Feb 8, 2021
Created on Feb 8, 2021

This example shows a simple smiley face built from three SVG circles: a large yellow head with a black stroke and two smaller black eyes. The code uses hardcoded SVG elements within an HTML document, setting explicit pixel coordinates for each circle’s center and radius. The rendering relies on standard SVG attributes like `cx`, `cy`, `r`, `fill`, and `stroke`, with no JavaScript libraries or data sources involved. The face is centered on a 960-by-500 canvas, and the page’s CSS hides any overflow for a clean presentation.

AI-generated description

Half way towards a smiley face.

MIT Licensed

Similar vizzes