🌍 Public
Viewing a saved revision (read-only)
3b32d8f1e935441bb530c493a8cf4bc1
Fork of mouse move
A single black dot follows the mouse as it moves across a full-screen SVG canvas. The dot’s position is updated in real time using React state, with the `onMouseMove` event capturing client coordinates. Rendered entirely with SVG `circle` elements, the example uses React 16.9 and ReactDOM to manage re-renders, while the dot’s radius remains fixed at 40 pixels.
AI-generated descriptionFollow a dot