Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Mouse Follower

Public visualization

Viewing a saved revision (read-only)

25d4c23c052b49589d976b6b32c389d1

Fork of Mouse Follower

0 stars0🌍 Public
JJosh Eflin
Last edited Apr 4, 2023
Created on Apr 4, 2023
Forked from Mouse Follower

A React-based SVG visualization renders a single circle that tracks the cursor’s position across a 960 by 500 canvas. The application uses the `useState` and `useCallback` hooks to manage the mouse coordinates, updating the circle’s `cx` and `cy` attributes on every `onMouseMove` event. The interactive graphic is built with ReactDOM and leverages the SVG `circle` element for display, with no additional data source beyond the user’s pointer movement.

AI-generated description

A program that follows your mouse with a circle.