Phase synthesis for array illuminator