Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Mouse Follower

Public visualization

Mouse Follower

0 stars0🌍 Public
GGang Chen
Last edited Oct 22, 2021
Created on Oct 22, 2021
Forked from Hello Smilly Face

A grid of eighteen smiling faces follows the mouse cursor across the screen. Each face is a React SVG component composed of a yellow background circle, two eyes, and a d3-generated arc path for the mouth. The code uses React 16.9 and d3.v7, with the `arc()` API to construct the mouth shape and `range()` to generate the array of faces. Each face has randomized eye and mouth dimensions, and the entire grid moves together with the pointer.

AI-generated description

A program that follows your mouse with a circle.

Comments

Sign in to join the discussion.

MIT Licensed