Skip to main content
100%

Mouse follower

✓ Published1🌍 Public
TTHANNULA
Last edited Mar 4, 2021
Created on Mar 4, 2021

A black circle follows the mouse cursor across a 960 by 500 SVG canvas. The circle’s position updates in real time using React’s `useState` and `useCallback` hooks, with the `onMouseMove` event handler tracking client coordinates. The SVG circle is rendered via React, while D3 v6 is loaded but not directly utilized in this interactive mouse-follower example.

AI-generated description

A program that follows your mouse with a circle. This is a mouse follower using React.

MIT Licensed

Similar vizzes