Skip to main content
100%

Smiley face 1

✓ Published1🌍 Public
Aandrotop
Last edited Sep 23, 2021
Created on Sep 20, 2021
Forked from HTML Starter

A grid of six by three smiley faces reacts to mouse movement, with each face's eyes tracking the cursor position across the entire viewport. Built with React and D3 v7, the visualization renders SVG circles and arcs for the facial features, while the eye movement is computed using trigonometric functions and mouse event coordinates. Each face has randomized eye and mouth parameters, and the mouse tracking adjusts the pupils' positions based on the relative distance to the cursor.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

MIT Licensed

Similar vizzes