Fork of MouseFollower
✓ Published1🌍 Public
A React component renders an SVG circle that follows the mouse cursor across the full browser window. The circle's position updates on every mouse move via React's `useState` and `useCallback` hooks, with the `clientX` and `clientY` event coordinates passed directly to the SVG `cx` and `cy` attributes. The visualization demonstrates real-time event handling in a React-SVG setup, using `ReactDOM.render` to mount the root element.
AI-generated descriptionProgram follows mouse with circle
MIT Licensed