Systems, method, and non-transitory computer readable medium for imaging an object. The system includes a scanner. The scanner positions a spot of light from a light source on the object along a scanning path. The scanning path includes a plurality of scan lines. The spot moves along the scanning path at a scanning velocity. The scanning velocity is not constant. The intensity of the spot of light is modulated as a function of the scanning velocity. The system includes a detector that is arranged to output data associated with positions along the scanning path. The system includes one or more processors that perform calculations. Pixels are calculated based on the output data. The image is constructed of the object based on the pixels.