🌍 Public
Viewing a saved revision (read-only)
f86d9853a8ec4ee5afb7ef9df6e3aae8
Mouse follower
A smiling cartoon face renders in SVG using React components for the background circle, eyes, and mouth, all positioned within a transformed group. As the mouse moves over the svg element, a separate filled circle follows the cursor’s client coordinates. The face itself integrates D3’s `arc()` generator for the mouth shape and static eye offsets, while React’s `useState` and `onMouseMove` handler update the follower circle’s position.
AI-generated descriptionA program that follows your mouse with a circle