Skip to main content
100%

Mouse Follower

✓ Published1🌍 Public
JJanet Li
Last edited Jun 3, 2021
Created on Jun 3, 2021

A yellow circle follows the mouse cursor, moving responsively across a full-window SVG canvas. The React-based application uses the `useCallback` hook to refine mouse-move event handling and `ReactDOM.render` to update the circle’s position. It relies on SVG’s `onMouseMove` event and absolute coordinates via `clientX` and `clientY` to track pointer movement. The visualization demonstrates a minimal, real-time interactive pattern with no external data source.

AI-generated description

A program that follows your mouth with a circle

MIT Licensed

Similar vizzes