Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Circle movement

Public visualization

Circle movement

0 stars1🌍 Public
Lltostes
Last edited Apr 25, 2021
Created on Apr 25, 2021
Forked from Well Hello HTML

A yellow circle with a black outline follows the mouse cursor across an SVG canvas. The circle's position is updated in real time using React state and a mouse move event handler. The visualization uses React's `useState` and `useCallback` hooks alongside D3's `range` utility, with an SVG `<circle>` rendered directly. The code includes reusable components for a face, but the active example only displays the moving circle.

AI-generated description

A bare minimum HTML page.

Comments

Sign in to join the discussion.

MIT Licensed