Skip to main content
100%

Mouse Follower

✓ Published0🌍 Public
Aadewole-top
Last edited Apr 3, 2021
Created on Apr 3, 2021

A smiling face rendered in SVG follows no mouse movement; the title is aspirational. The face is statically centered using React components for a yellow background circle, two black eyes, and a d3.arc-generated mouth path. The code receives fixed pixel dimensions and positions via props, with d3.v6 imported for the arc generator. React 17 handles component composition and rendering into the DOM.

AI-generated description

Half way towards the smiling face HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

MIT Licensed

Similar vizzes