1. A method comprising: causing one or more laser diodes of a computing device to operate below a lasing threshold to illuminate at least part of a physical surroundings of the computing device; capturing one or more images of the illuminated physical surroundings by a camera of the computing device; recognizing, from the captured one or more images, one or more inputs for interaction with a user interface displayed by the computing device; and causing the one or more laser diodes of the computing device to operate above the lasing threshold to output coherent light to project a pattern into the physical surroundings.