Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Mouse Follower

Public visualization

Mouse Follower

0 stars0🌍 Public
SSam Jukes
Last edited Jul 25, 2020
Created on Jul 25, 2020
Forked from React Starter

A React component renders an SVG circle that follows the mouse cursor across a 960 by 500 pixel canvas. The application uses React state and the `onMouseMove` event handler to track cursor coordinates, updating the circle's `cx` and `cy` attributes in real time. It demonstrates a simple interactive visualization built with React 16 and SVG, where the circle’s position is bound directly to the user’s pointer location.

AI-generated description

A program that follows your mouse

Comments

Sign in to join the discussion.

MIT Licensed