Skip to main content
100%

Mouse Follower

✓ Published0🌍 Public
JJanet Wesner
Last edited Nov 20, 2021
Created on Nov 20, 2021

A smiling face is rendered as an SVG that fills the browser window. The yellow face, with its two eyes, is positioned at the screen’s center and adapts to the viewport’s dimensions. Built with React and ReactDOM, the application calculates its geometry from `window.innerWidth` and `window.innerHeight`. It draws the face using SVG circles and a group transform, while body margin and overflow styles remove scrollbars for a full-screen effect.

AI-generated description

Smiley face implementation with React.

MIT Licensed

Similar vizzes