🌍 Public
Viewing a saved revision (read-only)
bc8e08a96981445cb7c62f429651c1ec
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.