Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Interactive Mouse

Public visualization

Viewing a saved revision (read-only)

815e50ad584444108489787a50abee76

Interactive Mouse

0 stars0🌍 Public
Cclapunzel
Last edited Jul 4, 2021
Created on Jul 4, 2021

A circle follows the mouse cursor across a full-window SVG canvas, updating its position in real time. The visualization is built with React and renders an SVG circle whose center coordinates are bound to the current mouse position, tracked via the `onMouseMove` event handler. The example demonstrates how React state and event handling can drive dynamic, interactive graphics.

AI-generated description

A program that follows your mouse with a circle