Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Mouse Follower

Public visualization

Viewing a saved revision (read-only)

f193439bfabe489dbb133642d2b02028

Fork of Mouse Follower

0 stars0🌍 Public
Hhung2606
Last edited Oct 9, 2021
Created on Oct 9, 2021
Forked from Mouse Follower

A circle follows the mouse cursor within an SVG canvas, updating its position in real time to mirror pointer movement. The React application tracks mouse coordinates via the `onMouseMove` event handler and stores them in component state, then renders the circle at those coordinates using SVG elements. The visualization uses React and ReactDOM to manage the interactive behavior, with the circle’s position tied directly to the `clientX` and `clientY` values from the mouse event.

AI-generated description

A program that follows your mouse with a circle.