Mouse Follower
✓ Published1🌍 Public
A React application renders an SVG circle that follows the mouse cursor across a 960 by 500 viewport. The component uses React hooks (`useState`, `useCallback`) to track mouse coordinates via the SVG `onMouseMove` event, updating the circle's `cx` and `cy` attributes. The initial position is centered, and the circle responds to pointer movement within the SVG element. Rendering uses React DOM with the production build of React 16.9.0.
AI-generated descriptionA program that follows your mouse with a circle.
MIT Licensed