Skip to main content
100%

Mouse Follower

✓ Published1🌍 Public
Ssinghjy
Last edited Mar 5, 2021
Created on Feb 28, 2021
Forked from Smiley Face Part 1

A circle follows the mouse cursor as it moves across the screen. The visualization uses React to render an SVG face with two static eyes and an arc-based mouth, while the mouse position is tracked to position a separate circle element. The code imports `arc` from d3 for generating the mouth path and relies on React's state management to update the circle's coordinates on mouse events.

AI-generated description

A program that follows the mouse with a circle

MIT Licensed

Similar vizzes