Skip to main content
100%

Smiley Face Part II

✓ Published1🌍 Public
SSergio Razza
Last edited Nov 12, 2020
Created on Nov 12, 2020

A lone black circle follows the cursor across a blank, full-window SVG canvas. Built with React, the app tracks the pointer's coordinates through the `onMouseMove` event, stores them in state with `useState`, and re-renders a single `<circle>` element at the current position. The example uses React 16.9 and ReactDOM to update the SVG in real time, demonstrating a minimal interactive visualization driven by mouse input.

AI-generated description

Mouse Follow

MIT Licensed

Similar vizzes