Skip to main content
Public

Share visualization

Loading preview…

Fork of Smiley Face Part II

vizhub.com

Shared links may look like this on X, LinkedIn, Slack, and Discord.

Before sharing, review the publishing checklist.

Choose how to deliver this visualization

LinkedIn caption

LinkedIn may not keep text supplied by the share sheet. Copy the caption and paste it into the post if needed. You can tag the VizHub company page when posting.

More options

Embed on a websiteCopy iframe embed code
Download & exportPNG, HTML, source ZIP

Fork of Smiley Face Part II

0
Wwobling1
Last edited Aug 29, 2023
Created on Aug 29, 2023

A React-based SVG visualization draws a single circle at the center of a 960×500 viewport and tracks the mouse position, logging each movement’s clientX and clientY coordinates to the console via a `handleMouseMove` event handler attached to the `<svg>` element. The code renders the circle using React's `createElement` and mounts it with `ReactDOM.render`. While the markup hints at a static smiley face composition in commented-out SVG, the active program only displays the plain circle and relies on React’s synthetic event system for mouse tracking, without any animation or data binding.

AI-generated description

A program that follows your mouse

Comments

Sign in to join the discussion.

MIT Licensed