Animated, fading line following a path
An example of a line that follows a pre-defined SVG path element. The line has a fading end.
The line consists of multiple straight line segments with decreasing opacity. By keeping the length of the segments short, and using enough segments, the line appears line a fluid path, and the fading appears to be continuous.
This is inspired by Martin Viégas and Martin Wattenberg's Wind Map.