Skip to main content
100%

trying more stuff again

✓ Published1🌍 Public
Ddanilo
Last edited Jul 25, 2022
Created on Jul 25, 2022

A turquoise circle follows the mouse cursor within an SVG canvas, creating a direct positional mapping between pointer movement and the circle’s center. Built with React state and a `useCallback` handler, the `onMouseMove` event updates the circle’s `cx` and `cy` attributes in real time. The visualization uses d3.v5 only for SVG element creation, while React manages the reactive rendering, resulting in a simple interactive tracking effect.

AI-generated description

a cursor which stalks u

MIT Licensed

Similar vizzes