Smiley Face
✓ Published1🌍 Public
Eighteen randomly generated smiley faces fill the screen, each a variation of the classic icon. The faces differ in color, stroke width, eye position and tilt, and mouth shape, showcasing the output of modular components built with React and D3 v5. The visualization is rendered as SVG, with the `Face`, `EmptyFace`, `Eyes`, and `Mouth` components taking numeric parameters to compute geometry. The code uses D3’s `arc` for the mouth path and `range` for generating the array of faces, all composed within a React app.
AI-generated descriptionDatavis 2020 (free online course)
Practise Part: Let's Make a Face Part I to VI
<iframe width="560" height="315" src="https://www.youtube.com/embed/QT5ef8dUyoo" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe> <iframe width="560" height="315" src="https://www.youtube.com/embed/JMvnd1CIRNo" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe> <iframe width="560" height="315" src="https://www.youtube.com/embed/1nOC9GR-Mzc" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe> <iframe width="560" height="315" src="https://www.youtube.com/embed/x1WwIKmnpjA" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe> <iframe width="560" height="315" src="https://www.youtube.com/embed/0AjwWMiVfv4" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe> <iframe width="560" height="315" src="https://www.youtube.com/embed/skiecpXhGxQ" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>MIT Licensed