Mouse Follower
✓ Published1🌍 Public
A full-screen React SVG component renders a single circle that follows the mouse as it moves. The app tracks mouse coordinates using React's `useState` hook and handles `onMouseMove` events on the SVG element, updating the circle's `cx` and `cy` attributes in real time. The initial position is centered in the window, and the circle radius is fixed at 30 pixels. No external data source is used; the visualization simply demonstrates interactive state-driven rendering with React and SVG.
AI-generated descriptionProgram that follows your mouse with a circle.
MIT Licensed