Skip to main content
100%

Fork of Mouse Follower

✓ Published0🌍 Public
JJosh Eflin
Last edited Apr 4, 2023
Created on Apr 4, 2023
Forked from Mouse Follower

A React-based SVG visualization renders a single circle that tracks the cursor’s position across a 960 by 500 canvas. The application uses the `useState` and `useCallback` hooks to manage the mouse coordinates, updating the circle’s `cx` and `cy` attributes on every `onMouseMove` event. The interactive graphic is built with ReactDOM and leverages the SVG `circle` element for display, with no additional data source beyond the user’s pointer movement.

AI-generated description

A program that follows your mouse with a circle.

MIT Licensed

Similar vizzes