D3 Spin Art
This interactive visualization lets users draw freehand lines or dots on a rotating canvas, producing spiral-like patterns whose appearance changes with speed. A vertical slider controls revolutions per minute, a color palette selects stroke colors, and radio buttons toggle between line and circle draw styles. The code uses D3 v4 transitions with a linear easing function to animate the SVG group’s rotation, while drag events append polyline or circle elements to the rotating group.
AI-generated descriptionThis is a sort of interactive version of <a href="http://bl.ocks.org/alexmacy/1e6f2b3d5c6dd475a019ffc3cf1660f6">Rotating Shape Transitions</a>.
You can adjust the rotational speed on the left, select form the color palette on the right, and chose between drawing a line or multiple small circles.
Interesting things start to happen at certain speeds, both with how the lines get drawn and how they appear.