🌍 Public
Viewing a saved revision (read-only)
9424ec30ad4940b3b0b67a2967971aa8
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