Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Mouse follower

Public visualization

Viewing a saved revision (read-only)

6c83f9c27380449ab9ca1c4d28cceb3e

Mouse follower

0 stars1🌍 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