Fork of Mouse Follower
✓ Published0🌍 Public
A React application renders an SVG circle that follows the mouse cursor across a 960-by-500 canvas. The circle’s position updates on every `mousemove` event using React’s `useState` and `useCallback` hooks, with the client coordinates stored in state. The example demonstrates real-time mouse tracking within an SVG element, relying on React 16.9 and ReactDOM for rendering, and is styled with minimal CSS to hide page overflow.
AI-generated descriptionA program that follows your mouse with a circle.
MIT Licensed