Skip to main content
100%

Fork of Mouse Follower

✓ Published1🌍 Public
SSpencer McAvey
Last edited Jan 12, 2023
Created on Jan 10, 2023
Forked from Mouse Follower

A circle follows the mouse pointer, changing to a random color and opacity with each movement. The visualization uses unidirectional data flow, where a state object is updated on mouse events and passed to a rendering function. Built with D3.js v7, it uses `select` to manage an SVG and circle element, while custom `randColor` and `randOpacity` functions generate random values.

AI-generated description

A circle that follows the mouse using unidirectional data flow. As the circle moves, the color and opacity change to random colors/opacity levels.

MIT Licensed

Similar vizzes