Mouse Follower
✓ Published0🌍 Public
This example shows a single black-outlined circle that follows the mouse cursor across an SVG canvas. Built with React and rendered as SVG, it tracks pointer movements using the `onMouseMove` event handler, which updates the circle's `cx` and `cy` coordinates via React's `useState` and `useCallback` hooks. The initial position is centered on a 960×500 viewport, and the circle has a fixed radius of 15 pixels.
AI-generated descriptionPrograma que acompanha o mouse com um circulo
MIT Licensed