Rainbow Worm
✓ Published0🌍 Public
FFrissAnalytics
Last edited Oct 4, 2018
Created on Oct 4, 2018
A rainbow-colored, segmented worm undulates across a dark background. The animation continuously reshapes the sine wave path, with each segment’s hue mapped from its horizontal position via an HSL color scale. Built with D3.js v3, the visualization uses SVG paths and a timer-driven update loop. The code manually computes thick, joined strokes for each quad of points, with width and color varying by segment, recreating the peristaltic motion from the original Protovis example.
AI-generated descriptionA recreation of an earlier Protovis example, reminiscent of peristalsis.
forked from <a href='http://bl.ocks.org/mbostock/'>mbostock</a>'s block: <a href='http://bl.ocks.org/mbostock/4165404'>Rainbow Worm</a>
gpl-3.0 Licensed