Fork of Mouse Follower
✓ Published0🌍 Public
A React application renders an SVG circle that follows the mouse cursor across a 960 by 500 viewport. The component tracks pointer movement through an `onMouseMove` event handler, updating positional state via `useState` and `useCallback`. The circle’s center coordinates (`cx`, `cy`) are bound to the current mouse position, while its radius is fixed at 30 pixels. React 16.9 and ReactDOM manage the UI, with the SVG scene updating in real time as the user moves the mouse.
AI-generated descriptionA program that follows your mouse with a circle.
MIT Licensed