Single line portraits

Random sampling dots on a bitmap, and then drawing a single line through all the dots.