Mouse Follower
✓ Published1🌍 Public
A React component renders an SVG circle that follows the mouse cursor across a 960-by-500 viewport. The app uses React's `useState` and `useCallback` hooks to track mouse coordinates from the `onMouseMove` event, passing the updated position to the circle's `cx` and `cy` attributes. The visualization demonstrates basic event handling and state-driven SVG rendering in React.
AI-generated descriptionA program that follows your mouse with a circle.
MIT Licensed