Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

follow the cursor

Public visualization

follow the cursor

0 stars1🌍 Public
Llucaly74@gmail.com
Last edited Sep 9, 2024
Created on Sep 9, 2024

A single circle follows the cursor within an SVG canvas, its position updating in real time. The visualization uses React’s `useState` and `useCallback` to manage mouse-move events, while D3.v7 supplies the SVG rendering via `d3.min.js`. The circle’s center coordinates (`cx`, `cy`) are set from the pointer’s `clientX` and `clientY` values, producing a direct, interactive response.

AI-generated description

A bare minimum HTML page.

Comments

Sign in to join the discussion.

MIT Licensed