Skip to main content
100%

Fork of Mouse Follower

✓ Published0🌍 Public
Ppytorchgirl
Last edited Dec 4, 2021
Created on Dec 4, 2021
Forked from Mouse Follower

A circle follows the mouse cursor across the screen, shifting its center to match the pointer’s coordinates in real time. The visualization uses React’s `useState` hook to store the mouse position and an SVG `onMouseMove` event handler to update it. The circle is rendered as an SVG element with `cx` and `cy` attributes bound to the tracked position. The page uses React 16.9.0 and ReactDOM, with the SVG filling the browser window.

AI-generated description

A Program that follows your mouse with a circle.

MIT Licensed

Similar vizzes