A circle to follow the mouse
✓ Published1🌍 Public
A yellow circle follows the mouse cursor across a 960x500 SVG canvas. The React app uses the `useState` hook to track mouse coordinates and `useCallback` to handle mouse movement events, updating the circle's `cx` and `cy` attributes. The SVG is rendered via ReactDOM, with the circle's position initialized to the canvas center.
AI-generated descriptionA circle that follows the mouse.
MIT Licensed