Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Mouse follower

Public visualization

Mouse follower

0 stars0🌍 Public
RRoberto
Last edited Jul 13, 2023
Created on Jul 13, 2023
Forked from Smileface

A smiling face follows the mouse cursor across a yellow circular background, with eyes and mouth that scale and shift based on randomized dimensions. Built with React components and D3 v5, the example renders SVG shapes including a circular background, offset eyes, and an arc-based mouth using the `d3.arc()` API. The face’s position updates dynamically in response to mouse movement, with component props controlling dimensions like eye offset, radius, and mouth width to create varied expressions.

AI-generated description

A bare minimum HTML page.

Comments

Sign in to join the discussion.

MIT Licensed