Fork of Mouse Follower
✓ Published0🌍 Public
An interactive React application renders a single SVG circle that follows the mouse cursor across a 960 by 500 viewport. The component tracks pointer position via an `onMouseMove` event handler and updates React state with the client coordinates. The circle’s center coordinates are bound to this state, causing a smooth repositioning on every movement. The code uses React 16.9 with hooks (`useState`, `useCallback`) and renders through `ReactDOM`.
AI-generated descriptionA program that follows your mouse with a circle.
MIT Licensed