🌍 Public
Viewing a saved revision (read-only)
abc2214b6cd04b128069ede3eb1ca94c
circle that follows mouse move
A yellow circle follows the mouse cursor across a full-window SVG canvas. The React component tracks pointer position using the `onMouseMove` event and updates state via `useState` and `useCallback`, re-rendering the circle's `cx` and `cy` coordinates. The viewport dimensions are set from `window.innerWidth` and `window.innerHeight`.
AI-generated descriptionSmiley face implementation with React.