🌍 Public
Viewing a saved revision (read-only)
3009fcfc01694e1787cb3bc1a1d9647b
Mouse Follower
A circle follows the mouse cursor as it moves across an SVG canvas. The visualization uses React state to track the cursor’s X and Y coordinates, updated via the `onMouseMove` event handler, and re-renders the circle’s position. The SVG and ReactDOM render the circle, with the initial position set to the canvas center.
AI-generated descriptionA program that follows your mouse with a circle.