🌍 Public
Viewing a saved revision (read-only)
e018a390f5ef46099c2242f6bd3becad
MoveTheDot
A single circle follows the mouse cursor across a full-screen SVG canvas, updating its position in real time through React state. The app uses React and ReactDOM, with `useState` and `useCallback` handling the mouse event and re-rendering. The circle’s coordinates are set from `clientX` and `clientY` on every `onMouseMove`, rendered via SVG elements. The visualization demonstrates a minimal interactive data-free example of state-driven rendering.
AI-generated descriptionMoving a dot.