Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Mouse Follower

Public visualization

Mouse Follower

0 stars1🌍 Public
JJohn Lewis
Last edited Oct 31, 2021
Created on Oct 31, 2021

A bright yellow circle tracks the mouse cursor across a full-screen SVG canvas, reacting instantly to pointer movement. The React-based application uses the `useState` hook to store the cursor's current `clientX` and `clientY` coordinates, updating the circle's center position on every mouse move event. Rendered through ReactDOM with SVG elements, the visualization demonstrates a simple interactive feedback loop between user input and graphical output.

AI-generated description

A program that follows your mouse with a circle.

Comments

Sign in to join the discussion.

MIT Licensed