🌍 Public
Viewing a saved revision (read-only)
b42e69f4bdf84c00918f1e6b0cbc9294
Mouse Follower Jeremy Osir
A yellow circle follows the mouse cursor as it moves across a full-screen SVG canvas. The circle’s position updates reactively in response to mouse movement, using React’s `useState` and `useCallback` hooks to manage state and handle the `onMouseMove` event. The React application renders directly into the DOM via `ReactDOM.render`, with the SVG dimensions set to the browser window’s `innerWidth` and `innerHeight`.
AI-generated descriptionA simple program that follows your mouse with a circle.