Mouse Follower
✓ Published1🌍 Public
A single yellow circle of radius 30 follows the mouse cursor across an otherwise blank SVG canvas. The React app uses a `useState` hook to track mouse coordinates, updated via an `onMouseMove` event handler that reads `clientX` and `clientY`. The circle’s `cx` and `cy` attributes are bound directly to these state values, so its position re-renders on every pointer movement within the 960×500 SVG viewport.
AI-generated descriptionA program that follows your mouse with a circle.
MIT Licensed