Flexible structured illumination microscope with a programmable illumination array.