Skip to main content
100%

Fork of MouseFollower

✓ Published0🌍 Public
SSihleZwane
Last edited May 22, 2023
Created on May 22, 2023
Forked from MouseFollower

A single circle follows the mouse cursor across a blank SVG canvas. The circle’s position updates on every mouse move event, directly using the event’s client coordinates. The implementation uses React state and the `useCallback` hook within `index.js`, rendering through ReactDOM’s `render` method. The SVG is created with hardcoded width and height, and the circle’s radius is fixed at 30 pixels.

AI-generated description

A program that follows your mouse on the screen

MIT Licensed

Similar vizzes