Performs animated color gradient on a path (made of line blocks), using Metal vertex / fragment shader. It is based on Apple's Metal example code
Try different values of the following variable for slightly different animations
const BONAnimationType animation = BONAnimationTypeDecreasingDiscreteBrightness;