Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Mouse Follower

Public visualization

Viewing a saved revision (read-only)

47fce8ad0c3b48b8bfe23023f4392989

Mouse Follower

0 stars0🌍 Public
FFoair
Last edited May 1, 2022
Created on May 1, 2022
Forked from Hello Package.json

A React SVG visualization displays a single circle that follows the mouse cursor across a 960 by 500 canvas. The circle's center coordinates update in real time to match the pointer's clientX and clientY position, which are logged to the console. Using React's useState and useCallback hooks, the app renders a responsive circle with a 20-pixel radius. The visualization relies on React and ReactDOM for state management and SVG rendering, with no data source or external libraries beyond the React framework.

AI-generated description

Mouse Follower

ISC Licensed