Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

MNouse follower

Public visualization

MNouse follower

1 star2🌍 Public
FFloweringDeathStar
Last edited Jul 11, 2021
Created on Jul 11, 2021

A single gray circle follows the mouse cursor across an SVG canvas. The React component tracks pointer coordinates via an `onMouseMove` event handler and updates the circle's center position through the `useState` and `useCallback` hooks. Rendering uses React 16.9 and ReactDOM to draw the circle as an SVG `<circle>` element, with a fixed radius of 30 pixels on a 960 by 500 viewport.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed