Skip to main content
100%

Mouse Follower

✓ Published2🌍 Public
Hhukbk
Last edited Apr 12, 2021
Created on Apr 12, 2021
Forked from Mouse Follower

A circle follows the mouse cursor across an SVG canvas as the user moves the pointer. The React component tracks the cursor’s `clientX` and `clientY` coordinates through an `onMouseMove` event handler, updating the circle’s `cx` and `cy` attributes via the `useState` and the component state. The visualization uses React 16.9 and ReactDOM to render the graph, with the SVG resized to 960 by 500 pixels and a constant circle radius of 30.

AI-generated description

Kreis soll Maus folgen (Fertig)

MIT Licensed

Similar vizzes