Wavefront shaping through emulated curved space in waveguide settings