Skip to main content
100%

Mouse Follower

✓ Published1🌍 Public
SSun Hwy (David) Kim
Last edited Mar 24, 2022
Created on Mar 24, 2022

A yellow circle with a black outline follows the mouse cursor across a full-screen SVG canvas. The visualization responds in real time to pointer movement, with the circle’s center repositioning to match the cursor’s coordinates. Built using React, it leverages the `useState` hook to track mouse position and updates the SVG circle’s `cx` and `cy` attributes via the `onMouseMove` event handler.

AI-generated description

A program that follows your mouse with a circle.

MIT Licensed

Similar vizzes