🌍 Public
Viewing a saved revision (read-only)
4f7df71c74894ab388ba87c7343c933f
Mouse Follower
A fixed radar-like SVG tracks the cursor across a 960 by 500 viewport, drawing an inner circle at the center that follows the pointer’s coordinates. Written with React 16.9 and rendered as an SVG `<circle>`, the interaction uses an `onMouseMove` event handler on the root `<svg>` element, logging `clientX` and `clientY` to the console while the yellow-outlined circle visually responds to the mouse position.
AI-generated descriptionA program that follows your mouse with a circle.