interact with user via REACT
✓ Published0🌍 Public
A React application renders a full-window SVG containing a single circle that follows the mouse cursor in real time. The code uses React’s `useState` hook to store the cursor position, initialized at the window’s center, and updates it through the `onMouseMove` event listener on the SVG element. The browser’s `clientX` and `clientY` event properties drive the circle’s `cx` and `cy` attributes. The project relies on React and ReactDOM from unpkg, rendering via SVG with no external data source.
AI-generated descriptionA program tht follows your mouse with a circle
MIT Licensed