Mouse Follower
✓ Published0🌍 Public
A yellow-stroked circle tracks the mouse cursor across an SVG canvas. The React component uses `useState` to store the pointer's coordinates and `useCallback` to update them on every `onMouseMove` event. Rendered with React DOM and SVG, the circle’s `cx` and `cy` attributes are bound directly to the current mouse position.
AI-generated descriptionA program that follows your mouse with a circle.
MIT Licensed