Skip to main content
100%

Fork of Mouse Follower

✓ Published0🌍 Public
IIllak
Last edited Apr 12, 2021
Created on Apr 12, 2021
Forked from Mouse Follower

A circle tracks the mouse cursor across an SVG canvas, updating its position in real time. The visualization uses React hooks, specifically `useState` and `useCallback`, to manage and update the mouse coordinates on every `mousemove` event. The circle is rendered as an SVG `<circle>` element within a `<svg>` container, with `ReactDOM.render` mounting the app to the DOM. No external data is loaded; the interaction is purely client-side and driven by pointer events.

AI-generated description

A program that follows your mouse with a circle.

MIT Licensed

Similar vizzes