Skip to main content
100%

mouse follower

✓ Published1🌍 Public
Bblackbottt
Last edited May 6, 2022
Created on May 6, 2022
Forked from Hello Smiley Face

An SVG circle tracks the mouse as it moves across a full-window canvas. The visualization updates the circle's horizontal and vertical coordinates in real time based on pointer events. Built with React's `useState` and `useCallback` hooks, the component re-renders whenever the mouse position changes. The example uses D3.js v5 for SVG rendering and React 18 for component management.

AI-generated description

A program that has a circle which constantly follows mouse position!

MIT Licensed

Similar vizzes