Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Mouse follower

Public visualization

Viewing a saved revision (read-only)

f82fcd54871a4de1b7486dfdbf40c47c

Mouse follower

0 stars0🌍 Public
ZZG
Last edited Sep 9, 2020
Created on Sep 9, 2020

A white circle follows the mouse cursor across a blank SVG canvas. Built with React 16.9, the app tracks mouse movement via an `onMouseMove` handler on the `<svg>` element, updating the circle's `cx` and `cy` coordinates through React state. The initial circle position is centered at 480, 250, with a fixed radius of 30 pixels.

AI-generated description

A program that follows your mouse with a circle