added function to color paths after velocity