Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Mouse Follower

Public visualization

Viewing a saved revision (read-only)

58cce25f389a4d44af4d38c538c44e0d

Fork of Mouse Follower

0 stars0🌍 Public
Bbhavani44
Last edited May 21, 2022
Created on May 21, 2022
Forked from Mouse Follower

A circle sits at the center of an SVG canvas in a React application. As the mouse moves over the canvas, the circle remains stationary while the console logs the cursor’s clientX and clientY coordinates. The code uses React hooks like useState and useCallback, though only the onMouseMove event handler is implemented. The rendering uses ReactDOM to mount an SVG element with a single circle, demonstrating basic event handling within a React-based visualization without any animation or movement.

AI-generated description

A program that follows your mouse with a circle.