Skip to main content
100%

Mouse follower

✓ Published0🌍 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.

MIT Licensed

Similar vizzes