Fork of Mouse Follower
✓ Published1🌍 Public
A circle follows the mouse pointer inside an SVG canvas. The React application tracks the cursor’s client coordinates and updates the circle’s center position accordingly. It uses the `useState` hook for the mouse position and `useCallback` to handle mouse movement events, rendering the circle with the SVG `<circle>` element. The code relies on React 16.9 and ReactDOM to manage the interactive state and render the visualization.
AI-generated descriptionA program that follows your mouse with a circle.
MIT Licensed