That would be decals. They also use it for tire tracks and footprints etc. Something along these lines
perhaps combined with this
Because you probably want to lay them out using a spline, and then make them disappear after the player intersects.