1. A system for determining a location of a stylus on a planar surface, the system comprising: a time-of-flight sensor having multiple sensing elements that provide a field of view for the time-of-flight sensor; a motor having a rotating shaft; a mirror attached to the shaft for reflecting the field of view of the time-of-flight sensor across the planar surface, the reflected field of view being about parallel to the planar surface and sweeping the reflected view across the planar surface when the shaft is rotated; a stylus having a pressure sensitive tip, a switch, and a wireless transmitter, the stylus configured to transmit a wireless signal from the wireless transmitter when the switch is an on position and the pressure sensitive tip is pressed against the planar surface, the wireless signal including writing pressure information detected from the pressure sensitive tip; and electrical circuitry configured to: receive a plurality of range images from the time-of-flight sensor as the field of view is swept across the planar surface, wherein each range image includes information indicating detected distances associated with content of the range image; process the plurality of range images to identify at least one of the range images that includes the stylus; calculate a location of the stylus on the planar surface relative to the motor based on an angle of the shaft associated with the at least one range image and a distance of the stylus from the time-of-flight sensor indicated in the at least one range image; receive the transmitted wireless signal from the stylus; and transmit the calculated location of the stylus and the writing pressure information to a display system.