Mouse Follower
✓ Published1🌍 Public
A full-window SVG renders a single fixed-radius circle that tracks the pointer as it moves across the viewport. The circle’s center coordinates are updated via React state, managed through the `useState` and `useCallback` hooks, with each `mousemove` event on the SVG element. The initial position is centered at 480,250, and the code uses React 17 and D3 v7, though D3 is loaded but not actively used in the logic.
AI-generated descriptionA program that follows your mouse with a circle.
MIT Licensed