Skip to main content
100%

Jitter Line

✓ Published0🌍 Public
BBeaupe
Last edited Nov 7, 2015
Created on Nov 7, 2015

A dark, interactive sketchpad displays a white, jittery line that follows the mouse cursor, leaving a trailing path of points. The line’s vertical position is randomly perturbed each frame, creating a trembling, organic effect while maintaining a smooth, interpolated curve. Built with D3.js v3, the visualization renders an SVG path updated via `requestAnimationFrame`, with a `dat.GUI` control panel allowing real-time adjustment of jitter strength, tail length, and line color. Mouse and touchmove events drive the point array, which is capped to a fixed tail length for a fading trail effect.

AI-generated description

forked from <a href='http://bl.ocks.org/zanarmstrong/'>zanarmstrong</a>'s block: <a href='http://bl.ocks.org/zanarmstrong/5fbc4b93f62227dedeb7'>Jittery Line</a>

Similar vizzes