Skip to main content
100%

Fork of Mouse Follower

✓ Published1🌍 Public
SShantanu
Last edited May 14, 2021
Created on May 14, 2021
Forked from Mouse Follower

A circle follows the mouse pointer inside an SVG canvas. The React application tracks the cursor’s client coordinates and updates the circle’s center position accordingly. It uses the `useState` hook for the mouse position and `useCallback` to handle mouse movement events, rendering the circle with the SVG `<circle>` element. The code relies on React 16.9 and ReactDOM to manage the interactive state and render the visualization.

AI-generated description

A program that follows your mouse with a circle.

MIT Licensed

Similar vizzes