In photoshop I used the pencil tool, set to size 1 brush, spacing set to 400% or more likely 500%. I then click once, let go, hold SHIFT and click again elsewhere. Photoshop fills in between the two points with a line of dots. I then use smaller shift-clicks to make compound curves. It looks convincing enough in the end result, but is really multiple (shorter) straight lines.