Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Mouse Follower

Public visualization

Fork of Mouse Follower

0 stars0🌍 Public
RRóbert Varga
Last edited Oct 23, 2022
Created on Oct 23, 2022
Forked from Mouse Follower

A circle follows the mouse cursor within an SVG canvas. The React application uses the `useState` hook to track mouse coordinates, updating the circle's `cx` and `cy` attributes through a callback on the SVG's `onMouseMove` event. The code relies on React and ReactDOM to render the SVG element, with no external data source; the visualization is purely interactive.

AI-generated description

A program that follows your mouse with a circle.

Comments

Sign in to join the discussion.

MIT Licensed