Text this: Bio-inspired flat optics for directional 3D light detection and ranging