Skip to main content
100%

Fork of Mouse Follower

✓ Published0🌍 Public
Kkrishanub03@gmail.com
Last edited Jun 2, 2024
Created on Jun 2, 2024
Forked from Mouse Follower

A simple React application renders an SVG circle that follows the mouse cursor across a 960 by 500 viewport. The component uses the `useState` and `useCallback` hooks to track the cursor's `clientX` and `clientY` coordinates, updating the circle's `cx` and `cy` attributes on every `mousemove` event. The visualization demonstrates basic event handling and state management with React and SVG, with no external data source.

AI-generated description

A program that follows your mouse with a circle.

MIT Licensed

Similar vizzes