The strong magnetic field controlled by the computer along with optical tracking system and a projector are used to make…