Fork of Mouse Follower
✓ Published0🌍 Public
A circle of radius 30 follows the mouse cursor across a 960×500 SVG canvas. The React component uses the `useState` hook to track cursor coordinates and the `onMouseMove` event to update them. Built with React 16.9 and ReactDOM, the SVG circle re-renders its `cx` and `cy` attributes dynamically in response to pointer movement, creating a direct visual coupling between the user's input and the rendered shape.
AI-generated descriptionA program that follows your mouse with a circle.
MIT Licensed