Skip to main content
100%

Mouse Follower - Sean

✓ Published0🌍 Public
Sseanlucano
Last edited Dec 24, 2020
Created on Dec 24, 2020

A yellow circle follows the mouse cursor across a full-screen SVG canvas. The circle's position updates directly from mouse movement events, and the visualization uses React's `useState` and `useCallback` hooks to manage the cursor's coordinates. The rendering relies on ReactDOM and React 16.9.0, with the window dimensions and mouse position determined by `window.innerWidth`, `window.innerHeight`, and `clientX`/`clientY` event properties. The visualization is a minimal, interactive demonstration of state-driven SVG rendering.

AI-generated description

Cirlce that follows my mouse.

MIT Licensed

Similar vizzes