Legend says the
黄帝 built it to lead his army through the fog that
蚩尤 raised in battle. Working machines are recorded from the third century on, and
祖冲之 rebuilt one in the fifth century. The word
指南, literally 'point south' and now 'guide', goes back to devices like it.