🌍 Public
Viewing a saved revision (read-only)
a57c20016eba4174bafb6877d0f2f36e
Mouse Follower
A React component renders an SVG circle that follows the mouse cursor across the full browser window. The circle's position updates continuously through React state and the onMouseMove event handler, using useState and useCallback hooks. The SVG viewport matches the window dimensions, and the circle starts at the center before responding to pointer movements.
AI-generated descriptionA program that follows your mouse with a circle.