Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Fork of Mouse Follower

Public visualization

Fork of Fork of Mouse Follower

0 stars0🌍 Public
AAlexalim28
Last edited Jul 29, 2021
Created on Jul 29, 2021

A yellow circle follows the mouse cursor across a full-screen SVG canvas, repositioning itself to match the pointer’s exact coordinates. The visualization uses React state management with a `useState` hook and `useCallback` for the mouse-move handler, while `d3.arc` is imported but not directly used in this implementation. The rendering is driven by React’s declarative SVG elements, with D3 v5 loaded via CDN but not contributing to the core interaction logic.

AI-generated description

A program that follows your mouse with a circle.

Comments

Sign in to join the discussion.

MIT Licensed