What's the idea of drawing such lines in the following demo? Drawing a single line with trailing effects might be simple. But those lines are also turning their directions.
http://uber.github.io/deck.gl/#/examples/custom-layers/trip-routes
you can pass in UV coordinates for lines or generate one then use that to color the line. Pass in time to scroll something like
Of course you can also use a texture instead of code for the colors