Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Mouse Follower

Public visualization

Viewing a saved revision (read-only)

4ddf1a1f6a004b178805c14c40c62419

Mouse Follower

0 stars1🌍 Public
MMark Lam
Last edited Jul 15, 2021
Created on Jul 15, 2021
Forked from React Face

A small circle follows the cursor as it moves over a blank SVG canvas, providing a direct, real-time mapping of pointer position to graphical output. The application uses React's `useState` hook to store the mouse coordinates, which are updated via the SVG `onMouseMove` event handler and passed as `cx` and `cy` attributes of the rendered `<circle>` element. The visualization demonstrates a minimal, single-element interactive scene built with React and rendered as SVG.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.