Skip to main content
100%

Fork of Mouse Follower

✓ Published1🌍 Public
MMd. Jakir Hosen
Last edited Dec 23, 2021
Created on Dec 23, 2021
Forked from Mouse Follower

A yellow circle tracks the mouse's movement across an SVG canvas, using React's `useState` and `useCallback` hooks to update its position in real time. The circle reacts instantly to pointer movement, with its center following the `clientX` and `clientY` coordinates from the browser's mouse event. Rendered through ReactDOM, the application leverages D3.js version 5 for the SVG environment while relying entirely on React state management for the dynamic positioning.

AI-generated description

A program that follows your mouse with a circle.

MIT Licensed

Similar vizzes