Mouse Follower - JAT
✓ Published1🌍 Public
This example displays a static SVG circle at the center of a 960x500 canvas using React and ReactDOM, with a mouse-move handler that logs the cursor's client coordinates to the console. The circle does not actually move or react visually; the interaction is limited to capturing and printing mouse position events. The code imports React, uses the `onMouseMove` SVG event, and renders a single `<circle>` element with fixed `cx`, `cy`, and `r` attributes.
AI-generated descriptionA program that follows your mouse with a circle.
MIT Licensed