A device for redirecting light in two dimensions, the device comprising: a wavelength-tunable light source for providing light comprising a spectral component at a first wavelength; a 1D redirector coupled to the wavelength-tunable light source for redirecting the light in a first plane; a low-mode waveguide in the first plane, wherein the low-mode waveguide is a singlemode or few-mode waveguide, the low-mode waveguide comprising: a dual-core slab waveguide portion coupled to the 1D redirector for propagating the light redirected by the 1D redirector, the dual-core slab waveguide portion comprising: a first core comprising a first core characteristic, and having a first diffraction grating configured to out-couple the spectral component of the redirected light in a second plane at a first angle dependent on the first wavelength, the first angle being within a first angle range corresponding to a tuning' range of the wavelength-tunable light source; and a second core comprising a second core characteristic, and having a second diffraction grating configured to out-couple the spectral component of the redirected light in the second plane at a second angle different from the first angle, the second angle being within a second angle range corresponding to the tuning range of the wavelength-tunable light source; wherein the second plane is non-parallel to the first plane; wherein the core characteristic is one or more of: a core thickness, a core refractive index, a cladding refractive index, or a diffraction grating pitch; and wherein the first core is switchable with the second core by selectively coupling the light into the first core or the second core; an in-coupler for coupling the light into the low-mode waveguide a wavelength-tunable light source for providing light comprising a spectral component at a first wavelength; a 1D redirector coupled to the wavelength-tunable light source for redirecting the light in a first plane; a low-mode waveguide in the first plane, wherein the low-mode waveguide is a singlemode or few-mode waveguide, the low-mode waveguide comprising: a dual-core slab waveguide portion coupled to the 1D redirector for propagating the light redirected by the 1D redirector, the dual-core slab waveguide portion comprising: a first core comprising a first core characteristic, and having a first diffraction grating configured to out-couple the spectral component of the redirected light in a second plane at a first angle dependent on the first wavelength, the first angle being within a first angle range corresponding to a tuning' range of the wavelength-tunable light source; and a second core comprising a second core characteristic, and having a second diffraction grating configured to out-couple the spectral component of the redirected light in the second plane at a second angle different from the first angle, the second angle being within a second angle range corresponding to the tuning range of the wavelength-tunable light source; wherein the second plane is non-parallel to the first plane; wherein the core characteristic is one or more of: a core thickness, a core refractive index, a cladding refractive index, or a diffraction grating pitch; and wherein the first core is switchable with the second core by selectively coupling the light into the first core or the second core; an in-coupler for coupling the light into the low-mode waveguide a first core comprising a first core characteristic, and having a first diffraction grating configured to out-couple the spectral component of the redirected light in a second plane at a first angle dependent on the first wavelength, the first angle being within a first angle range corresponding to a tuning' range of the wavelength-tunable light source; and a second core comprising a second core characteristic, and having a second diffraction grating configured to out-couple the spectral component of the redirected light in the second plane at a second angle different from the first angle, the second angle being within a second angle range corresponding to the tuning range of the wavelength-tunable light source; wherein the second plane is non-parallel to the first plane; wherein the core characteristic is one or more of: a core thickness, a core refractive index, a cladding refractive index, or a diffraction grating pitch; and wherein the first core is switchable with the second core by selectively coupling the light into the first core or the second core; wherein the second plane is non-parallel to the first plane; wherein the core characteristic is one or more of: a core thickness, a core refractive index, a cladding refractive index, or a diffraction grating pitch; and wherein the first core is switchable with the second core by selectively coupling the light into the first core or the second core; an in-coupler for coupling the light into the low-mode waveguide