bezier-dollars
✓ Published0🌍 Public
11wheel
Last edited Aug 22, 2016
Created on Aug 31, 2014
This example uses cubic Bézier curves to connect 20 circles on the left to two sets of rectangles on the right, with the connections splitting into two groups based on random selection. Each path animates its stroke-dashoffset to draw the curve from left to right, while hovering over a circle triggers a dollar sign to travel along the associated path via a tween that samples points with getPointAtLength. The visualization relies on D3 v3 for scales, transitions, and DOM manipulation, and on Lo-Dash for helper functions like range and contains. The animation reveals the mapping between the circle indices and the filtered rectangle points, creating an economic-looking flow diagram.
AI-generated description