Skip to main content
100%

Mouse Follower

✓ Published1🌍 Public
Cchamce
Last edited Jun 19, 2021
Created on Jun 19, 2021
Forked from Mouse Follower

A React application renders an SVG circle that follows the mouse cursor across a 960 by 500 viewport. The component uses React hooks (`useState`, `useCallback`) to track mouse coordinates via the SVG `onMouseMove` event, updating the circle's `cx` and `cy` attributes. The initial position is centered, and the circle responds to pointer movement within the SVG element. Rendering uses React DOM with the production build of React 16.9.0.

AI-generated description

A program that follows your mouse with a circle.

MIT Licensed

Similar vizzes