Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Mouse Follower

Public visualization

Viewing a saved revision (read-only)

7a1ba9c3268b4590aebcdc92de395539

Mouse Follower

0 stars1🌍 Public
JJanet Li
Last edited Jun 3, 2021
Created on Jun 3, 2021

A yellow circle follows the mouse cursor, moving responsively across a full-window SVG canvas. The React-based application uses the `useCallback` hook to refine mouse-move event handling and `ReactDOM.render` to update the circle’s position. It relies on SVG’s `onMouseMove` event and absolute coordinates via `clientX` and `clientY` to track pointer movement. The visualization demonstrates a minimal, real-time interactive pattern with no external data source.

AI-generated description

A program that follows your mouth with a circle