Skip to main content
100%

Smiley Stamp

✓ Published0🌍 Public
MMartin Blatz
Last edited Oct 1, 2020
Created on Oct 1, 2020
Forked from Point and Shoot

A red crosshair target follows the mouse cursor across a blank SVG canvas. Clicking the mouse stamps a yellow smiley face with black eyes and a curved mouth at that location. The application uses React with the `useState` and `useCallback` hooks to track mouse movement and click events, dynamically rendering `Target` and `Smile` components. The target and smiley shapes are composed of SVG circles and lines, with the smiley’s eye offset and stroke width passed as props.

AI-generated description

A program that follows your mouse with crosshairs, then stamps a smiley on the screen wherever you click. Adapted from Professor Kelleher's original smile and mouse follower.

MIT Licensed

Similar vizzes