Skip to main content
100%

Mouse Seguindo

✓ Published0🌍 Public
EEverton Rocha
Last edited Mar 16, 2021
Created on Mar 16, 2021

A circle tracks the user's mouse pointer across an SVG canvas, updating its position in real time to follow the cursor. The visualization demonstrates a minimal interactive component built with React's `useState` and `useCallback` hooks to manage and update mouse coordinates. The app listens for mouse movement events on the `<svg>` element and renders the circle with D3's `arc` import, though only the basic circle element is used. It relies on React 16.9 and D3 v5, with rendering handled entirely through SVG.

AI-generated description

Um programa que faz o mouse seguir o ponteiro

MIT Licensed

Similar vizzes