Mouse Follower colors
✓ Published0🌍 Public
A fixed-size SVG scene contains two circles, one navy and one red, that track the cursor's position as it moves over the canvas. The red circle is offset 150 pixels to the left of the mouse, creating a trailing color pairing. Built with React 16.9, the component uses the `useState` hook and an `onMouseMove` event handler to update the circle coordinates on every pointer movement. The SVG `<circle>` elements render with hardcoded fill colors, and no data source is loaded.
AI-generated descriptionA program that follows your mouse with a circle.
MIT Licensed