Skip to main content
100%

MouseFollower

✓ Published1🌍 Public
SSihleZwane
Last edited May 22, 2023
Created on May 22, 2023

A small yellow circle follows the mouse cursor across an SVG canvas. The circle’s position is driven by React state, updated via a `useCallback` handler on the SVG’s `onMouseMove` event, which reads the native event’s `clientX` and `clientY` coordinates. The visualization is rendered using React and D3.js, with a fixed 960×500 viewport and no external dataset.

AI-generated description

A program that follows your mouse on the screen

MIT Licensed

Similar vizzes