Skip to main content
100%

Mouse Follower

✓ Published1🌍 Public
Kkevin-jake
Last edited Apr 6, 2022
Created on Apr 6, 2022
Forked from Smiley Part 1

A smiley face rendered in SVG follows the mouse cursor across a yellow background. The face, built from React components for the background circle, eyes, and a d3.arc-generated mouth, updates its position via React state on every mousemove event. The visualization uses React’s useCallback and useState hooks to track client coordinates, re-rendering the face container at the new location.

AI-generated description

A bare minimum HTML page.

MIT Licensed

Similar vizzes