MoveTheDot
✓ Published0🌍 Public
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.
MIT Licensed