🌍 Public
Viewing a saved revision (read-only)
184c50a725a94229b72db668b2b1cfca
Mouse Follower
A circle follows the mouse cursor across a full-screen SVG canvas. The visualization tracks pointer movement through React state, updating the circle's `cx` and `cy` attributes on every `onMouseMove` event. Built with React and ReactDOM, it renders a single `<circle>` element with a radius of 30 pixels, initially positioned at the center of the viewport. The example demonstrates a simple, responsive interaction loop where user input directly drives SVG geometry.
AI-generated descriptionMouse Follower implementation with React.