Fork of Mouse Follower
✓ Published0🌍 Public
An interactive React application renders an SVG circle that tracks the mouse cursor across a 960 by 500 pixel canvas. The component uses the `useState` and `useCallback` hooks to manage and update the circle's `cx` and `cy` coordinates on every `onMouseMove` event. The circle starts at the center of the viewport and smoothly follows pointer movements, with a fixed radius of 30 pixels.
AI-generated descriptionA program that follows your mouse with a circle.
MIT Licensed