Skip to main content
100%

Fork of Tweak a Face Assignment by Enze Liu

✓ Published0🌍 Public
SSheshidharreddy
Last edited Feb 18, 2022
Created on Feb 18, 2022

This example displays a panda face constructed from SVG primitives, including arcs for the eyes, nose, mouth, and ears, ellipses for eye sockets, and circles for the face and flush. The visualization is built with React and D3.js v6, using `d3.arc()` to generate path data for the facial features, positioned via SVG transform attributes. The face is centered within a 960 by 500 viewport, with each element manually placed to create a symmetrical, cartoon-like appearance.

AI-generated description

The first assignment: Tweak a Face

Start with the blank html project This is a panda face!

  1. use two arcs to make the eyes
  2. use two ellipse to make the eye sockets
  3. use one arc to make the nose
  4. use two circles to implement the flush
  5. use two arcs to implement the mouse
  6. use two arcs to implement the ears
MIT Licensed

Similar vizzes