🌍 Public
Fork of Mouse Follower
A circle of radius 30 follows the mouse cursor across an SVG canvas. Built with React, the app tracks pointer coordinates via the `onMouseMove` event and updates the circle's `cx` and `cy` attributes through the `useState` hook. The SVG occupies a fixed 960 by 500 pixel viewport, and the code uses ReactDOM to render the component.
AI-generated descriptionA program that follows your mouse with a circle.
MIT Licensed
Comments
Sign in to join the discussion.