🌍 Public
Viewing a saved revision (read-only)
bd3452d0e71f43d8ae739fe09a8e8c04
Mouse follower
A circle tracks the mouse in real time across the full browser window. Built with React and SVG, the component uses React's `useState` hook to store the pointer's coordinates, updating them on each `mousemove` event via the SVG `onMouseMove` handler. The circle's `cx` and `cy` attributes are bound to these state values, smoothly rendering its position on every move.
AI-generated descriptionProgram that follows your mouse with a circle.