Skip to main content
100%

Mouse Follower

✓ Published1🌍 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.

MIT Licensed

Similar vizzes