The in-built Particle Ribbons are pretty limited to create this effect, and a few workarounds have to be done to get it functional, but it works well enough for a quick one-off. To take it further I'd want to generate my own mesh, to allow the ribbon to split into multiple ribbons when the points are too far apart, to interpolate the line, and to have more control over the UV layout and keep a consistent mapping.