Partial Sums!
Drag the top points of the rainbow segments. See what happens.
Information: Partial Sums!