Mouse Follower
✓ Published0🌍 Public
A single red circle follows the cursor across the entire browser viewport. The circle is rendered as an SVG `<circle>` element, with its center coordinates updated on every mouse move event. Built with React (using `useState` and `useCallback`) and rendered with `ReactDOM.render`, the application listens for `onMouseMove` on a full-window SVG and sets the circle’s `cx` and `cy` properties to the event’s client coordinates. The viewport dimensions are taken from `window.innerWidth` and `window.innerHeight`.
AI-generated descriptionSmiley face implementation with React.
MIT Licensed