Fork of Mouse Follower
✓ Published0🌍 Public
A simple React application renders an SVG circle that follows the mouse cursor across a 960 by 500 viewport. The component uses the `useState` and `useCallback` hooks to track the cursor's `clientX` and `clientY` coordinates, updating the circle's `cx` and `cy` attributes on every `mousemove` event. The visualization demonstrates basic event handling and state management with React and SVG, with no external data source.
AI-generated descriptionA program that follows your mouse with a circle.
MIT Licensed