🌍 Public
Viewing a saved revision (read-only)
a637b731783f44318e7eb40c3f2fd7a3
Fork of MouseFollower
A single circle follows the mouse cursor across a blank SVG canvas. The circle’s position updates on every mouse move event, directly using the event’s client coordinates. The implementation uses React state and the `useCallback` hook within `index.js`, rendering through ReactDOM’s `render` method. The SVG is created with hardcoded width and height, and the circle’s radius is fixed at 30 pixels.
AI-generated descriptionA program that follows your mouse on the screen