Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Mouse Follower

Public visualization

Mouse Follower

0 stars1🌍 Public
DDeaxNG
Last edited Nov 19, 2021
Created on Nov 19, 2021

A yellow circle follows the mouse cursor within an SVG canvas. The visualization uses React's `useState` to track cursor coordinates and updates the circle's `cx` and `cy` attributes on `onMouseMove`. The SVG is rendered via ReactDOM, with D3.js loaded but unused in the visible interaction.

AI-generated description

Program that follows mouse with a circle

Comments

Sign in to join the discussion.

MIT Licensed