Skip to main content
100%

Mouse follower

✓ Published1🌍 Public
MMark Zwart
Last edited Mar 23, 2021
Created on Mar 23, 2021

A single black circle follows the mouse pointer across a blank SVG canvas. The React component tracks cursor coordinates through an `onMouseMove` event handler, storing them in state via `useState` and updating the circle’s `cx` and `cy` attributes. The app uses React 16.9 and renders the SVG directly with ReactDOM.

AI-generated description

A program that follows my mouse pointer

MIT Licensed

Similar vizzes