Skip to main content
100%

Mouse Follower

✓ Published1🌍 Public
AAndy Chang
Last edited Sep 27, 2022
Created on Sep 27, 2022

A React component renders an SVG circle that follows the mouse cursor across the full browser window. The circle's position updates continuously through React state and the onMouseMove event handler, using useState and useCallback hooks. The SVG viewport matches the window dimensions, and the circle starts at the center before responding to pointer movements.

AI-generated description

A program that follows your mouse with a circle.

MIT Licensed

Similar vizzes