Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Let's Make a Face Part I

Public visualization

Fork of Let's Make a Face Part I

0 stars0🌍 Public
SShivam-raval96
Last edited Dec 23, 2021
Created on Dec 23, 2021

This example shows a static smiley face built with SVG primitives: a large yellow circle for the head and two smaller black circles for eyes, all rendered on a 960 by 500 canvas. The code uses raw SVG elements—`circle` and `stroke` attributes—directly in the HTML, without any JavaScript libraries. The face is centered with the head’s radius and stroke width accounted for in the positioning, and the eyes are placed at fixed x-coordinates on either side of the center. No animation or interaction is present; it is purely a geometric composition.

AI-generated description

Half way towards a smiley face.

Comments

Sign in to join the discussion.

MIT Licensed