Fork of Fork of HTML Starter
✓ Published2🌍 Public
This example demonstrates a mouse follower visualization where a circle tracks the cursor’s position across an SVG canvas. The React app uses the `useState` hook to store mouse coordinates, updating them on every `onMouseMove` event. The circle radius is fixed at 50, and it renders via ReactDOM into an HTML root element. The visualization highlights real-time interaction, with the SVG’s width and height set to 960 by 500 pixels. It relies on React 18.2.0 and ReactDOM for rendering, showing how state management and event handling create a responsive graphical effect.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed