complete the function for drawing laser beams