Accumulated path length becomes the hue angle — the fading tail smears behind

0 Current hue angle

Total path 0px

34% saturation, pastel

Draw it yourself — color follows your hand