Skip to main content
100%

Fork of Mouse Follower

✓ Published0🌍 Public
Mmax12525k
Last edited Aug 29, 2021
Created on Aug 29, 2021
Forked from Mouse Follower

A circle follows the mouse cursor inside an SVG canvas, moving to the exact pixel coordinates of the pointer. The visualization uses React with a `useState` hook to track the mouse position, updating on every `onMouseMove` event fired by the SVG element. The circle’s center and radius are set via SVG attributes, and the chart is rendered through ReactDOM into an HTML div. The code is a React-based fork of a mouse-follower example, using the standard React event handling system for interaction.

AI-generated description

A program that follows your mouse with a circle.

MIT Licensed

Similar vizzes