Mouse follower
✓ Published1🌍 Public
A React component tracks the mouse position across an SVG canvas and renders a solid black circle that follows the pointer. The application uses React's `useState` and `useCallback` hooks to manage and update the mouse coordinates on every `mousemove` event. The SVG viewport is set to 960 by 500 pixels with a circle radius of 30. The code draws only the moving circle, with no additional data or visual elements beyond the pointer-following behavior.
AI-generated descriptionA program that follows your mouse with a circle
MIT Licensed