Mouse Follower
✓ Published1🌍 Public
A full-screen React SVG tracks the cursor with a single black circle, centering the circle on the mouse position as it moves. The app uses React's `useState` and `useCallback` hooks to manage and update the mouse coordinates, which are rendered as the `cx` and `cy` attributes of an SVG `<circle>` element. The circle has a fixed radius of 30 pixels, and the SVG canvas spans the entire browser window, with the initial mouse position set to the center of the viewport.
AI-generated descriptionA program that follow your mouse with a circle
MIT Licensed