Broadband wavefront engineering with optical resonator arrays