Skip to main content
100%

Fork of Mouse Follower

✓ Published0🌍 Public
Bbhavani44
Last edited May 21, 2022
Created on May 21, 2022
Forked from Mouse Follower

A circle sits at the center of an SVG canvas in a React application. As the mouse moves over the canvas, the circle remains stationary while the console logs the cursor’s clientX and clientY coordinates. The code uses React hooks like useState and useCallback, though only the onMouseMove event handler is implemented. The rendering uses ReactDOM to mount an SVG element with a single circle, demonstrating basic event handling within a React-based visualization without any animation or movement.

AI-generated description

A program that follows your mouse with a circle.

MIT Licensed

Similar vizzes