Skip to main content
100%

Mouse Follower

✓ Published1🌍 Public
AAchilleasTyrnenopoulos
Last edited Nov 13, 2021
Created on Nov 13, 2021

A yellow circle rendered in SVG follows the mouse cursor as it moves across a 960 by 500 pixel canvas. Built with React and ReactDOM, the application tracks cursor coordinates through the `onMouseMove` event handler and updates the circle's position via the `useState` hook. The circle's center is set to the current `clientX` and `clientY` values from the event, providing immediate visual feedback.

AI-generated description

A program that follows your mouse with a circle.

MIT Licensed

Similar vizzes