Skip to main content
100%

Mouse Follower

✓ Published0🌍 Public
OOleg Zhernovoy
Last edited Nov 26, 2022
Created on Nov 26, 2022
Forked from Mouse Follower

A circle tracks the user’s cursor within a 960×500 SVG canvas, updating its center position in real time as the mouse moves. Built with React, the app uses the `useState` hook to store mouse coordinates and a `useCallback` handler on the SVG’s `onMouseMove` event. The rendering is done entirely with SVG elements, and the circle’s radius is fixed at 30 pixels.

AI-generated description

A program that follows your mouse with a circle.

MIT Licensed

Similar vizzes