Skip to main content
100%

Fork of Tweak a Face Assignment by Enze Liu

✓ Published0🌍 Public
SSamanvitha1
Last edited Jun 18, 2022
Created on Jun 18, 2022

This visualization draws a stylized panda face constructed from basic geometric shapes, including circles for the head and blush, ellipses for the eye sockets, and arcs for the eyes, nose, mouth, and ears. The face is centered within an SVG canvas using React and D3.js. The code leverages the `d3.arc()` API to generate the curved paths for the facial features, while `ReactDOM.render()` displays the final composition. The project imports React, ReactDOM, and the `arc` function from D3, and uses SVG elements like `<path>` and `<ellipse>` for rendering.

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