🌍 Public
Viewing a saved revision (read-only)
e822db7ebec84ef68011932587672a56
Fork of React Starter
Five circles move in a diagonal line across an SVG canvas, following the mouse position with staggered offsets. The React app uses `useState` and `useCallback` to track pointer coordinates and update the circles' `cx` and `cy` attributes on every `mousemove` event. Rendering is done declaratively with JSX, mapping over a static array of five elements to produce equally spaced circle components. The example demonstrates interactive state-driven SVG updates without external visualization libraries.
AI-generated descriptionReact Starter code.