change animatedStuff for a vector of polylines instead of one polyline.