Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Mouse Follower

Public visualization

Viewing a saved revision (read-only)

411f7b64615a4148804544e116a4d7f1

Mouse Follower

0 stars1🌍 Public
LLisa Wagner
Last edited Aug 23, 2021
Created on Aug 23, 2021

A circle follows the mouse cursor across an SVG canvas. Built with React and ReactDOM, it uses a state variable to track pointer coordinates and updates a circle's center position on every mouse movement. The SVG element has a fixed width and height, and the circle's radius is set to 40 pixels.

AI-generated description

A program that follows your mouse with a circle.